Class TIntListDecorator

All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Iterable<Integer>, Collection<Integer>, List<Integer>, SequencedCollection<Integer>

public class TIntListDecorator extends AbstractList<Integer> implements List<Integer>, Externalizable, Cloneable

Wrapper class to make a TIntList conform to the java.util.List API. This class simply decorates an underlying TIntList and translates the Object-based APIs into their Trove primitive analogs.

Note that wrapping and unwrapping primitive values is extremely inefficient. If possible, users of this class should override the appropriate methods in this class and use a table of canonical values.

See Also: