Class TShortListDecorator

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Short>
gnu.trove.decorator.TShortListDecorator
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Iterable<Short>, Collection<Short>, List<Short>

public class TShortListDecorator extends AbstractList<Short> implements List<Short>, Externalizable, Cloneable
Wrapper class to make a TShortList conform to the java.util.List API. This class simply decorates an underlying TShortList 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: