Class Object2IntMaps.Singleton<K>

All Implemented Interfaces:
Function<K,​Integer>, Object2IntFunction<K>, Object2IntMap<K>, Serializable, Cloneable, Function<K,​Integer>, ToIntFunction<K>, Map<K,​Integer>
Direct Known Subclasses:
Object2IntSortedMaps.Singleton
Enclosing class:
Object2IntMaps

public static class Object2IntMaps.Singleton<K>
extends Object2IntFunctions.Singleton<K>
implements Object2IntMap<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