ScriptDoubleValues
public 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, wait
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