Class TDoubleObjectMapDecorator<V>

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

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

    • TDoubleObjectMapDecorator

      public TDoubleObjectMapDecorator()
      FOR EXTERNALIZATION ONLY!!
    • TDoubleObjectMapDecorator

      public TDoubleObjectMapDecorator(TDoubleObjectMap<V> map)
      Creates a wrapper that decorates the specified primitive map.
      Parameters:
      map - the TDoubleObjectMap to wrap.
  • Method Details