Class TFloatFloatMapDecorator

  • All Implemented Interfaces:
    Externalizable, Serializable, Cloneable, Map<Float,Float>


    public class TFloatFloatMapDecorator
    extends AbstractMap<Float,Float>
    implements Map<Float,Float>, Externalizable, Cloneable
    Wrapper class to make a TFloatFloatMap conform to the java.util.Map API. This class simply decorates an underlying TFloatFloatMap 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:
    Serialized Form
    • Constructor Detail

      • TFloatFloatMapDecorator

        public TFloatFloatMapDecorator()
        FOR EXTERNALIZATION ONLY!!
      • TFloatFloatMapDecorator

        public TFloatFloatMapDecorator(TFloatFloatMap map)
        Creates a wrapper that decorates the specified primitive map.
        Parameters:
        map - the TFloatFloatMap to wrap.