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.
|
setDocument
protected final void resize(int newSize)
protected final void sort()
public final int count()
SortedNumericDoubleValues
count
in class SortedNumericDoubleValues
public final double valueAt(int index)
SortedNumericDoubleValues
0
to count()-1
.valueAt
in class SortedNumericDoubleValues