public abstract class SortingNumericDoubleValues extends SortedNumericDoubleValues
SortedNumericDoubleValues
instances based on unsorted content.Modifier and Type | Field and Description |
---|---|
protected double[] |
values |
Modifier | Constructor and Description |
---|---|
protected |
SortingNumericDoubleValues() |
Modifier and Type | Method and Description |
---|---|
int |
docValueCount()
Retrieves the number of values for the current document.
|
double |
nextValue()
Iterates to the next value in the current document.
|
protected void |
resize(int newSize)
Set the
docValueCount() and ensure that the values array can
store at least that many entries. |
protected void |
sort()
|
advanceExact
protected final void resize(int newSize)
docValueCount()
and ensure that the values
array can
store at least that many entries.protected final void sort()
public final int docValueCount()
SortedNumericDoubleValues
SortedNumericDoubleValues.advanceExact(int)
returned false
.docValueCount
in class SortedNumericDoubleValues
public final double nextValue()
SortedNumericDoubleValues
SortedNumericDoubleValues.docValueCount()
times for the document.nextValue
in class SortedNumericDoubleValues