org.datamixer.collections
Class Ints
java.lang.Object
org.datamixer.collections.DatamixerCollection
org.datamixer.collections.DatamixerList
org.datamixer.collections.SyntheticList
org.datamixer.collections.Ints
- All Implemented Interfaces:
- java.util.Collection, java.util.List
- public class Ints
- extends SyntheticList
|
Constructor Summary |
Ints()
|
Ints(int first)
|
Ints(int first,
int last)
|
Ints(int first,
int last,
int step)
|
Ints(int first,
int last,
int step,
int epsilon)
|
Ints(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 int DEFAULT_FIRST
- See Also:
- Constant Field Values
DEFAULT_STEP
public static final int DEFAULT_STEP
- See Also:
- Constant Field Values
DEFAULT_EPSILON
public static final int DEFAULT_EPSILON
- See Also:
- Constant Field Values
first_
protected int first_
last_
protected int last_
step_
protected int step_
epsilon_
protected int epsilon_
Ints
public Ints()
Ints
public Ints(java.lang.String range)
Ints
public Ints(int first)
Ints
public Ints(int first,
int last)
Ints
public Ints(int first,
int last,
int step)
Ints
public Ints(int first,
int last,
int step,
int 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
getInt
public int getInt(int index)
getFirst
public int getFirst()
setFirst
public void setFirst(int value)
getLast
public int getLast()
setLast
public void setLast(int value)
getStep
public int getStep()
setStep
public void setStep(int value)
getEpsilon
public int getEpsilon()
setEpsilon
public void setEpsilon(int value)
Copyright © 2004-2006 datamixer.org. All Rights Reserved.