Interface PrimitiveArray<T>
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
MessageStore<T>
- All Known Implementing Classes:
AbstractMessageStore
,DoubleArray
,DoubleMessageStore
,IntArray
,IntMessageStore
,LongArray
,LongMessageStore
,ObjectArray
,ObjectMessageStore
,TypedBackendPrimitiveArray
public interface PrimitiveArray<T> extends Serializable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <TT> PrimitiveArray<TT>
create(Class<? extends TT> clz, int len)
static <TT> PrimitiveArray<TT>
createImmutable(PrimitiveTypedArray<TT> array, Class<? extends TT> clz)
T
get(int index)
default T
get(long index)
void
set(int index, T value)
default void
set(long index, T value)
int
size()
-
-
-
Method Detail
-
get
T get(int index)
-
get
default T get(long index)
-
set
void set(int index, T value)
-
set
default void set(long index, T value)
-
size
int size()
-
create
static <TT> PrimitiveArray<TT> create(Class<? extends TT> clz, int len)
-
createImmutable
static <TT> PrimitiveArray<TT> createImmutable(PrimitiveTypedArray<TT> array, Class<? extends TT> clz)
-
-