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()
|
advanceExactprotected 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()
SortedNumericDoubleValuesSortedNumericDoubleValues.advanceExact(int)
returned false.docValueCount in class SortedNumericDoubleValuespublic final double nextValue()
SortedNumericDoubleValuesSortedNumericDoubleValues.docValueCount() times for the document.nextValue in class SortedNumericDoubleValues