public static class ScriptDocValues.Doubles extends java.util.AbstractList<java.lang.Double> implements ScriptDocValues<java.lang.Double>
ScriptDocValues.Booleans, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Constructor and Description |
---|
Doubles(SortedNumericDoubleValues values) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
get(int index) |
SortedNumericDoubleValues |
getInternalValues() |
double |
getValue() |
java.util.List<java.lang.Double> |
getValues()
Return a copy of the list of the values for the current document.
|
void |
setNextDocId(int docId)
Set the current doc ID.
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Doubles(SortedNumericDoubleValues values)
public void setNextDocId(int docId)
ScriptDocValues
setNextDocId
in interface ScriptDocValues<java.lang.Double>
public SortedNumericDoubleValues getInternalValues()
public double getValue()
public java.util.List<java.lang.Double> getValues()
ScriptDocValues
getValues
in interface ScriptDocValues<java.lang.Double>
public java.lang.Double get(int index)
get
in interface java.util.List<java.lang.Double>
get
in class java.util.AbstractList<java.lang.Double>
public int size()
size
in interface java.util.Collection<java.lang.Double>
size
in interface java.util.List<java.lang.Double>
size
in class java.util.AbstractCollection<java.lang.Double>