Package cc.mallet.util
Class DoubleList
- java.lang.Object
-
- cc.mallet.util.DoubleList
-
- All Implemented Interfaces:
java.io.Serializable
public class DoubleList extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleList()
DoubleList(double[] initialValues)
DoubleList(double[] initialValues, int size)
DoubleList(int capacity)
DoubleList(int size, double fillValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(double value)
java.lang.Object
clone()
DoubleList
cloneDoubleList()
double
get(int index)
void
set(int index, double value)
-
-
-
Method Detail
-
cloneDoubleList
public DoubleList cloneDoubleList()
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
add
public void add(double value)
-
get
public double get(int index)
-
set
public void set(int index, double value)
-
-