Class TShortDoubleMapDecorator

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

public class TShortDoubleMapDecorator extends AbstractMap<Short,Double> implements Map<Short,Double>, Externalizable, Cloneable
Wrapper class to make a TShortDoubleMap conform to the java.util.Map API. This class simply decorates an underlying TShortDoubleMap 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

    • TShortDoubleMapDecorator

      public TShortDoubleMapDecorator()
      FOR EXTERNALIZATION ONLY!!
    • TShortDoubleMapDecorator

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