public class IntegerList extends java.util.AbstractList<IntToken>
Red (cxh) |
Red (cxh) |
Constructor and Description |
---|
IntegerList(caltrop.interpreter.Context context,
int a,
int b)
Construct a list of Integers IntegerList object.
|
Modifier and Type | Method and Description |
---|---|
IntToken |
get(int n)
Return an integer from the Caltrop interpreter context.
|
int |
size()
The size of the list.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public IntegerList(caltrop.interpreter.Context context, int a, int b)
context
- a Caltrop interpreter context.a
- The lower limit of the range of integers.b
- The upper limit of the range of integers.public IntToken get(int n)