Class Int2ReferenceMaps.Singleton<V>

All Implemented Interfaces:
Function<Integer,​V>, Int2ReferenceFunction<V>, Int2ReferenceMap<V>, Serializable, Cloneable, Function<Integer,​V>, IntFunction<V>, Map<Integer,​V>
Direct Known Subclasses:
Int2ReferenceSortedMaps.Singleton
Enclosing class:
Int2ReferenceMaps

public static class Int2ReferenceMaps.Singleton<V>
extends Int2ReferenceFunctions.Singleton<V>
implements Int2ReferenceMap<V>, Serializable, Cloneable
An immutable class representing a type-specific singleton map.

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

See Also:
Serialized Form