Class Short2LongMaps.Singleton

All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Short,Long>, it.unimi.dsi.fastutil.shorts.Short2LongFunction, Short2LongMap, Serializable, Cloneable, Function<Short,Long>, IntToLongFunction, Map<Short,Long>
Direct Known Subclasses:
Short2LongSortedMaps.Singleton
Enclosing class:
Short2LongMaps

public static class Short2LongMaps.Singleton extends Short2LongFunctions.Singleton implements Short2LongMap, 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:
  • Field Details

    • entries

      protected transient it.unimi.dsi.fastutil.objects.ObjectSet<Short2LongMap.Entry> entries
    • keys

      protected transient it.unimi.dsi.fastutil.shorts.ShortSet keys
    • values

      protected transient it.unimi.dsi.fastutil.longs.LongCollection values
  • Constructor Details

    • Singleton

      protected Singleton(short key, long value)
  • Method Details