org.datamixer.collections
Class Doubles
java.lang.Object
org.datamixer.collections.DatamixerCollection
org.datamixer.collections.DatamixerList
org.datamixer.collections.SyntheticList
org.datamixer.collections.Doubles
- All Implemented Interfaces:
- java.util.Collection, java.util.List
- public class Doubles
- extends SyntheticList
|
Constructor Summary |
Doubles()
|
Doubles(double first)
|
Doubles(double first,
double last)
|
Doubles(double first,
double last,
double step)
|
Doubles(double first,
double last,
double step,
double epsilon)
|
Doubles(java.lang.String range)
|
| Methods inherited from class org.datamixer.collections.SyntheticList |
getFirstClosed, getFirstString, getLastClosed, getLastString, getRange, getRangeObject, getStepString, setFirstString, setLastString, setRange, setRangeObject, setStepString, toString |
| Methods inherited from class org.datamixer.collections.DatamixerList |
add, addAll, contains, containsAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList, toArray, toArray |
| Methods inherited from class org.datamixer.collections.DatamixerCollection |
add, addAll, clear, error, getDatamixerIterator, getDataType, getFormatPattern, getId, getName, getRepeat, getSize, initialize, isEmpty, iterator, remove, removeAll, retainAll, setDataType, setFormatPattern, setId, setName, setRepeat, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
add, addAll, clear, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size |
DEFAULT_FIRST
public static final double DEFAULT_FIRST
- See Also:
- Constant Field Values
DEFAULT_STEP
public static final double DEFAULT_STEP
- See Also:
- Constant Field Values
DEFAULT_EPSILON
public static final double DEFAULT_EPSILON
- See Also:
- Constant Field Values
first_
protected double first_
last_
protected double last_
step_
protected double step_
epsilon_
protected double epsilon_
Doubles
public Doubles()
Doubles
public Doubles(java.lang.String range)
Doubles
public Doubles(double first)
Doubles
public Doubles(double first,
double last)
Doubles
public Doubles(double first,
double last,
double step)
Doubles
public Doubles(double first,
double last,
double step,
double epsilon)
doInitialize
protected void doInitialize()
throws DatamixerException
- Initialization.
- Overrides:
doInitialize in class SyntheticList
- Throws:
DatamixerException
createIterator
protected DatamixerIterator createIterator()
- Returns an iterator over the elements in this collection.
- Specified by:
createIterator in class DatamixerCollection
- Returns:
- an iterator over the elements in this collection.
getValue
public Value getValue(int index)
- Description copied from class:
DatamixerList
- Returns the element at index, wrapped in a
Value.
- Specified by:
getValue in class DatamixerList
doGet
protected java.lang.Object doGet(int index)
- Specified by:
doGet in class DatamixerList
newArray
public java.lang.Object[] newArray(int size)
- Description copied from class:
DatamixerList
- Returns the elements in this list as an array of length
size. If size is greater than the length of the
list, the additional elements in the array are null.
- Specified by:
newArray in class DatamixerList
doGetSize
protected int doGetSize()
- Specified by:
doGetSize in class DatamixerCollection
getDouble
public double getDouble(int index)
getFirst
public double getFirst()
setFirst
public void setFirst(double value)
getLast
public double getLast()
setLast
public void setLast(double value)
getStep
public double getStep()
setStep
public void setStep(double value)
getEpsilon
public double getEpsilon()
setEpsilon
public void setEpsilon(double value)
Copyright © 2004-2006 datamixer.org. All Rights Reserved.