Class ObjectArray<T>
- java.lang.Object
-
- com.alibaba.graphscope.utils.array.impl.ObjectArray<T>
-
- All Implemented Interfaces:
PrimitiveArray<T>
,Serializable
public class ObjectArray<T> extends Object implements PrimitiveArray<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectArray(Class<? extends T> clz, long len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get(int index)
void
set(int index, T value)
int
size()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alibaba.graphscope.utils.array.PrimitiveArray
get, set
-
-
-
-
Method Detail
-
get
public T get(int index)
- Specified by:
get
in interfacePrimitiveArray<T>
-
set
public void set(int index, T value)
- Specified by:
set
in interfacePrimitiveArray<T>
-
size
public int size()
- Specified by:
size
in interfacePrimitiveArray<T>
-
-