private static class HilbertSpatialSorter.HilbertRef<T extends SpatialComparable> extends Object implements Comparable<HilbertSpatialSorter.HilbertRef<T>>
Modifier and Type | Field and Description |
---|---|
protected long[] |
bits
Hilbert representation.
|
protected T |
vec
The referenced object.
|
Modifier | Constructor and Description |
---|---|
protected |
HilbertSpatialSorter.HilbertRef(T vec,
long[] bits)
Constructor.
|
protected T extends SpatialComparable vec
protected long[] bits
protected HilbertSpatialSorter.HilbertRef(T vec, long[] bits)
vec
- Vectorbits
- Bit representationpublic int compareTo(HilbertSpatialSorter.HilbertRef<T> o)
compareTo
in interface Comparable<HilbertSpatialSorter.HilbertRef<T extends SpatialComparable>>