Class Byte2ShortMaps.Singleton

All Implemented Interfaces:
it.unimi.dsi.fastutil.bytes.Byte2ShortFunction, Byte2ShortMap, it.unimi.dsi.fastutil.Function<Byte,Short>, Serializable, Cloneable, Function<Byte,Short>, IntUnaryOperator, Map<Byte,Short>
Direct Known Subclasses:
Byte2ShortSortedMaps.Singleton
Enclosing class:
Byte2ShortMaps

public static class Byte2ShortMaps.Singleton extends Byte2ShortFunctions.Singleton implements Byte2ShortMap, 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<Byte2ShortMap.Entry> entries
    • keys

      protected transient it.unimi.dsi.fastutil.bytes.ByteSet keys
    • values

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

    • Singleton

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