private static class DoubleValuesSource.DoubleValuesComparatorSource extends FieldComparatorSource
Modifier and Type | Field and Description |
---|---|
private double |
missingValue |
private DoubleValuesSource |
producer |
Constructor and Description |
---|
DoubleValuesComparatorSource(DoubleValuesSource producer) |
Modifier and Type | Method and Description |
---|---|
FieldComparator<java.lang.Double> |
newComparator(java.lang.String fieldname,
int numHits,
int sortPos,
boolean reversed)
Creates a comparator for the field in the given index.
|
(package private) void |
setMissingValue(double missingValue) |
private final DoubleValuesSource producer
private double missingValue
DoubleValuesComparatorSource(DoubleValuesSource producer)
void setMissingValue(double missingValue)
public FieldComparator<java.lang.Double> newComparator(java.lang.String fieldname, int numHits, int sortPos, boolean reversed)
FieldComparatorSource
newComparator
in class FieldComparatorSource
fieldname
- Name of the field to create comparator for.