ScriptDoubleValuespublic abstract class SortingNumericDoubleValues extends SortedNumericDoubleValues
SortedNumericDoubleValues instances based on unsorted content.| Modifier and Type | Field | Description |
|---|---|---|
protected double[] |
values |
| Modifier | Constructor | Description |
|---|---|---|
protected |
SortingNumericDoubleValues() |
| Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadvanceExactprotected 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