java.lang.Iterable<java.lang.Double>
, java.util.Collection<java.lang.Double>
, java.util.List<java.lang.Double>
public static final class ScriptDocValues.Doubles extends ScriptDocValues<java.lang.Double>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
Constructor | Description |
---|---|
Doubles(SortedNumericDoubleValues in) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Double |
get(int index) |
|
SortedNumericDoubleValues |
getInternalValues() |
|
double |
getValue() |
|
protected void |
resize(int newSize) |
|
void |
setNextDocId(int docId) |
Set the current doc ID.
|
int |
size() |
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, getValues, remove, replaceAll, set, sort
public Doubles(SortedNumericDoubleValues in)
public void setNextDocId(int docId) throws java.io.IOException
ScriptDocValues
setNextDocId
in class ScriptDocValues<java.lang.Double>
java.io.IOException
protected void resize(int newSize)
public SortedNumericDoubleValues getInternalValues()
public double getValue()
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>