Package org.elasticsearch.common.util
Interface ObjectArray<T>
-
- All Superinterfaces:
org.apache.lucene.util.Accountable
,java.lang.AutoCloseable
,BigArray
,java.io.Closeable
,Releasable
public interface ObjectArray<T> extends BigArray
Abstraction of an array of object values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get(long index)
Get an element given its index.T
set(long index, T value)
Set a value at the given index and return the previous value.-
Methods inherited from interface org.elasticsearch.common.lease.Releasable
close
-
-