Class Reference2IntMaps.Singleton<K>

All Implemented Interfaces:
Function<K,​Integer>, Reference2IntFunction<K>, Reference2IntMap<K>, Serializable, Cloneable, Function<K,​Integer>, ToIntFunction<K>, Map<K,​Integer>
Direct Known Subclasses:
Reference2IntSortedMaps.Singleton
Enclosing class:
Reference2IntMaps

public static class Reference2IntMaps.Singleton<K>
extends Reference2IntFunctions.Singleton<K>
implements Reference2IntMap<K>, 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