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 voidadd(double value)java.lang.Objectclone()DoubleListcloneDoubleList()doubleget(int index)voidset(int index, double value)
-
-
-
Method Detail
-
cloneDoubleList
public DoubleList cloneDoubleList()
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
add
public void add(double value)
-
get
public double get(int index)
-
set
public void set(int index, double value)
-
-