- doubleToSortableLong
Converts a double value to a sortable signed long. The value is converted by
getting their IEEE 754
- longToPrefixCoded
Returns prefix coded bits after reducing the precision by shift bits. This is
method is used by Nume
- floatToSortableInt
Converts a float value to a sortable signed int. The value is converted by
getting their IEEE 754 fl
- intToPrefixCoded
Returns prefix coded bits after reducing the precision by shift bits. This is
method is used by Nume
- sortableLongToDouble
Converts a sortable long back to a double.
- sortableIntToFloat
Converts a sortable int back to a float.
- intToSortableBytes
Encodes an integer value such that unsigned byte order comparison is consistent
with Integer#compare
- longToSortableBytes
Encodes an long value such that unsigned byte order comparison is consistent
with Long#compare(long,
- doubleToPrefixCoded
- prefixCodedToLong
Returns a long from prefixCoded bytes. Rightmost bits will be zero for lower
precision codes. This m
- subtract
Result = a - b, where a >= b, else IllegalArgumentException is thrown.
- sortableBytesToInt
Decodes an integer value previously written with #intToSortableBytes