- All Superinterfaces:
org.apache.lucene.util.Accountable,AutoCloseable,BigArray,Closeable,Releasable
Abstraction of an array of double values.
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidfill(long fromIndex, long toIndex, float value) Fill slots betweenfromIndexinclusive totoIndexexclusive withvalue.floatget(long index) Get an element given its index.voidset(long index, byte[] buf, int offset, int len) Bulk set.voidset(long index, float value) Set a value at the given index.Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsedMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
get
float get(long index) Get an element given its index. -
set
void set(long index, float value) Set a value at the given index. -
fill
void fill(long fromIndex, long toIndex, float value) Fill slots betweenfromIndexinclusive totoIndexexclusive withvalue. -
set
void set(long index, byte[] buf, int offset, int len) Bulk set.
-