Class LongSets.Singleton

All Implemented Interfaces:
LongCollection, LongIterable, LongSet, Serializable, Cloneable, Iterable<Long>, Collection<Long>, Set<Long>
Direct Known Subclasses:
LongSortedSets.Singleton
Enclosing class:
LongSets

public static class LongSets.Singleton extends AbstractLongSet implements Serializable, Cloneable
An immutable class representing a type-specific singleton set.

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

See Also: