public static interface MapBinnedData.BinMapper
equals
and hashCode
properly.Modifier and Type | Method | Description |
---|---|---|
double[] |
getBounds(java.lang.Object key) |
Returns the upper and lower bounds of the bin corresponding to
a given key.
|
java.lang.Comparable |
getKey(double value) |
Returns the key to use for a given value.
|
java.util.Iterator |
keyIterator(java.lang.Object loKey,
java.lang.Object hiKey) |
Returns an iterator which covers all keys between the given
low and high keys inclusive.
|
java.lang.Comparable getKey(double value)
null
to indicate that the given value
cannot be binned.value
- numerical valuevalue
fallsdouble[] getBounds(java.lang.Object key)
key
- bin key objectkey
java.util.Iterator keyIterator(java.lang.Object loKey, java.lang.Object hiKey)
loKey
and hiKey
must be possible keys
for this mapper and arranged in the right order.loKey
- lower bound (inclusive) for key iterationhiKey
- upper bound (inclusive) for key iterationCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.