org.apache.lucene.util.Accountable, java.lang.AutoCloseable, BigArray, java.io.Closeable, Releasablepublic interface DoubleArray extends BigArray
| Modifier and Type | Method | Description |
|---|---|---|
void |
fill(long fromIndex,
long toIndex,
double value) |
Fill slots between
fromIndex inclusive to toIndex exclusive with value. |
double |
get(long index) |
Get an element given its index.
|
double |
increment(long index,
double inc) |
Increment value at the given index by
inc and return the value. |
double |
set(long index,
double value) |
Set a value at the given index and return the previous value.
|
closedouble get(long index)
double set(long index,
double value)
double increment(long index,
double inc)
inc and return the value.void fill(long fromIndex,
long toIndex,
double value)
fromIndex inclusive to toIndex exclusive with value.