Class IntLists.Singleton

All Implemented Interfaces:
IntCollection, IntIterable, IntList, IntStack, Stack<Integer>, Serializable, Cloneable, Comparable<List<? extends Integer>>, Iterable<Integer>, Collection<Integer>, List<Integer>, RandomAccess, SequencedCollection<Integer>
Enclosing class:
IntLists

public static class IntLists.Singleton extends AbstractIntList implements RandomAccess, Serializable, Cloneable
An immutable class representing a type-specific singleton list.

This class may be useful to implement your own in case you subclass a type-specific list.

See Also: