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
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleList
public DoubleList()
DoubleList
public DoubleList(int capacity)
DoubleList
public DoubleList(int size,
double fillValue)
DoubleList
public DoubleList(double[] initialValues,
int size)
DoubleList
public DoubleList(double[] initialValues)
cloneDoubleList
public DoubleList cloneDoubleList()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
add
public void add(double value)
get
public double get(int index)
set
public void set(int index,
double value)