Class Float2ShortMaps.Singleton

All Implemented Interfaces:
it.unimi.dsi.fastutil.floats.Float2ShortFunction, Float2ShortMap, it.unimi.dsi.fastutil.Function<Float,Short>, Serializable, Cloneable, DoubleToIntFunction, Function<Float,Short>, Map<Float,Short>
Direct Known Subclasses:
Float2ShortSortedMaps.Singleton
Enclosing class:
Float2ShortMaps

public static class Float2ShortMaps.Singleton extends Float2ShortFunctions.Singleton implements Float2ShortMap, 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<Float2ShortMap.Entry> entries
    • keys

      protected transient it.unimi.dsi.fastutil.floats.FloatSet keys
    • values

      protected transient it.unimi.dsi.fastutil.shorts.ShortCollection values
  • Constructor Details

    • Singleton

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