public static class DefaultVectorComparators.DecimalComparator extends VectorValueComparator<DecimalVector>
valueWidth, vector1, vector2| Constructor and Description |
|---|
DecimalComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareNotNull(int index1,
int index2)
Compare two values, given their indices.
|
VectorValueComparator<DecimalVector> |
createNew()
Creates a comparator of the same type.
|
attachVector, attachVectors, checkNullsOnCompare, compare, getValueWidthpublic int compareNotNull(int index1,
int index2)
VectorValueComparatorcompareNotNull in class VectorValueComparator<DecimalVector>index1 - index of the first value to compare.index2 - index of the second value to compare.public VectorValueComparator<DecimalVector> createNew()
VectorValueComparatorcreateNew in class VectorValueComparator<DecimalVector>Copyright © 2024 The Apache Software Foundation. All rights reserved.