Class LongLists.Singleton

All Implemented Interfaces:
LongCollection, LongIterable, LongList, LongStack, Stack<Long>, Serializable, Cloneable, Comparable<List<? extends Long>>, Iterable<Long>, Collection<Long>, List<Long>, RandomAccess, SequencedCollection<Long>
Enclosing class:
LongLists

public static class LongLists.Singleton extends AbstractLongList 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: