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 |
count()
Retrieves the count of values for the current document.
|
protected void |
resize(int newSize)
|
protected void |
sort()
|
double |
valueAt(int index)
Retrieve the value for the current document at the specified index.
|
setDocumentprotected final void resize(int newSize)
protected final void sort()
public final int count()
SortedNumericDoubleValuescount in class SortedNumericDoubleValuespublic final double valueAt(int index)
SortedNumericDoubleValues0 to count()-1.valueAt in class SortedNumericDoubleValues