public abstract class SortingNumericDoubleValues extends SortedNumericDoubleValues
SortedNumericDoubleValues instances based on unsorted content.| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
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 |
grow()
|
protected void |
sort()
|
double |
valueAt(int index)
Retrieve the value for the current document at the specified index.
|
setDocumentprotected final void grow()
protected final void sort()
public final int count()
SortedNumericDoubleValuescount in class SortedNumericDoubleValuespublic final double valueAt(int index)
SortedNumericDoubleValues0 to count()-1.valueAt in class SortedNumericDoubleValuesCopyright © 2009–2016. All rights reserved.