Class Int2ObjectMaps.Singleton<V>

All Implemented Interfaces:
Function<Integer,V>, Int2ObjectFunction<V>, Int2ObjectMap<V>, Serializable, Cloneable, Function<Integer,V>, IntFunction<V>, Map<Integer,V>
Direct Known Subclasses:
Int2ObjectSortedMaps.Singleton
Enclosing class:
Int2ObjectMaps

public static class Int2ObjectMaps.Singleton<V> extends Int2ObjectFunctions.Singleton<V> implements Int2ObjectMap<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: