Class TIntShortHashMapDecorator

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

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

Author:
Eric D. Friedman, Rob Eden
See Also:
  • Field Details

  • Constructor Details

    • TIntShortHashMapDecorator

      public TIntShortHashMapDecorator()
      FOR EXTERNALIZATION ONLY!!
    • TIntShortHashMapDecorator

      public TIntShortHashMapDecorator(TIntShortHashMap map)
      Creates a wrapper that decorates the specified primitive map.
  • Method Details