com.sun.electric.database.geometry.btree.unboxed
Interface UnboxedComparable<V extends java.io.Serializable & java.lang.Comparable>

All Superinterfaces:
Unboxed<V>
All Known Implementing Classes:
UnboxedFloat, UnboxedHalfDouble, UnboxedInt

public interface UnboxedComparable<V extends java.io.Serializable & java.lang.Comparable>
extends Unboxed<V>

An unboxed which is Comparable, and for which the comparison can be performed directly on the unboxed form.


Method Summary
 int compare(byte[] buf1, int ofs1, byte[] buf2, int ofs2)
          Same as Comparable.compare(), but operates directly on serialized representation
 
Methods inherited from interface com.sun.electric.database.geometry.btree.unboxed.Unboxed
deserialize, getSize, serialize
 

Method Detail

compare

int compare(byte[] buf1,
            int ofs1,
            byte[] buf2,
            int ofs2)
Same as Comparable.compare(), but operates directly on serialized representation