Class TShortFloatMapDecorator

java.lang.Object
java.util.AbstractMap<Short,Float>
gnu.trove.decorator.TShortFloatMapDecorator
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Map<Short,Float>

public class TShortFloatMapDecorator extends AbstractMap<Short,Float> implements Map<Short,Float>, Externalizable, Cloneable

Wrapper class to make a TShortFloatMap conform to the java.util.Map API. This class simply decorates an underlying TShortFloatMap and translates the Object-based APIs into their Trove primitive analogs.

Note that wrapping and unwrapping primitive values is extremely inefficient. If possible, users of this class should override the appropriate methods in this class and use a table of canonical values.

Created: Mon Sep 23 22:07:40 PDT 2002

See Also:
  • Field Details

  • Constructor Details

    • TShortFloatMapDecorator

      public TShortFloatMapDecorator()
      FOR EXTERNALIZATION ONLY!!
    • TShortFloatMapDecorator

      public TShortFloatMapDecorator(TShortFloatMap map)
      Creates a wrapper that decorates the specified primitive map.
      Parameters:
      map - the TShortFloatMap to wrap.
  • Method Details