Package ptolemy.caltrop.util
Class IntegerList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<IntToken>
-
- ptolemy.caltrop.util.IntegerList
-
- All Implemented Interfaces:
java.lang.Iterable<IntToken>
,java.util.Collection<IntToken>
,java.util.List<IntToken>
public class IntegerList extends java.util.AbstractList<IntToken>
A sparse list of integers.- Since:
- Ptolemy II 4.0
- Version:
- $Id$
- Author:
- Jörn W. Janneck
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description IntegerList(caltrop.interpreter.Context context, int a, int b)
Construct a list of Integers IntegerList object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntToken
get(int n)
Return an integer from the Caltrop interpreter context.int
size()
The size of the list.-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
get
public IntToken get(int n)
Return an integer from the Caltrop interpreter context.
-
-