public abstract class NumericTypeBase<T extends Number> extends PrimitiveTypeBase<T>
Modifier and Type | Class and Description |
---|---|
static class |
NumericTypeBase.NumericComparator
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static NumericTypeBase.NumericComparator |
COMPARATOR |
dataOffset, graph, valueIndex
Constructor and Description |
---|
NumericTypeBase() |
Modifier and Type | Method and Description |
---|---|
Comparator<byte[]> |
getComparator()
Return a
java.util.Comparator instance that provides
an order relation of the values of the primitive type. |
compare, find, findGT, findGTE, findLT, findLTE, fromByteArray, getIndex, getIndexName, getRefCount, getRefCountFor, make, putRefCount, readBytes, release, setHyperGraph, store, storeImpl, subsumes, toByteArray, writeBytes
public static final NumericTypeBase.NumericComparator COMPARATOR
public Comparator<byte[]> getComparator()
HGPrimitiveType
java.util.Comparator
instance that provides
an order relation of the values of the primitive type. An implementation
is allowed to return null
in which case it is assumed
that the type does not offer an ordering relation. However, if a
non-null value is returned, it is must be of a publicly available
and default constructible class.Copyright © 2015. All rights reserved.