cc.mallet.util
Class DoubleList

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

Constructor Detail

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)
Method Detail

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)