Class DoubleArray
- java.lang.Object
-
- com.alibaba.graphscope.utils.array.impl.DoubleArray
-
- All Implemented Interfaces:
PrimitiveArray<Double>
,Serializable
public class DoubleArray extends Object implements PrimitiveArray<Double>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleArray(int len)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
get(int index)
double[]
getValues()
void
set(int index, Double 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
-
getValues
public double[] getValues()
-
get
public Double get(int index)
- Specified by:
get
in interfacePrimitiveArray<Double>
-
set
public void set(int index, Double value)
- Specified by:
set
in interfacePrimitiveArray<Double>
-
size
public int size()
- Specified by:
size
in interfacePrimitiveArray<Double>
-
-