GNU Trove

## Package gnu.trove.decorator

GNU Trove: Decorators for java.util.{Map,Set} compatability

See:
Description

Class Summary
TByteByteHashMapDecorator: Wrapper class to make a TByteByteHashMap conform to the `java.util.Map` API.
TByteDoubleHashMapDecorator: Wrapper class to make a TByteDoubleHashMap conform to the `java.util.Map` API.
TByteFloatHashMapDecorator: Wrapper class to make a TByteFloatHashMap conform to the `java.util.Map` API.
TByteHashSetDecorator: Wrapper class to make a TByteHashSet conform to the `java.util.Set` API.
TByteIntHashMapDecorator: Wrapper class to make a TByteIntHashMap conform to the `java.util.Map` API.
TByteLongHashMapDecorator: Wrapper class to make a TByteLongHashMap conform to the `java.util.Map` API.
TByteObjectHashMapDecorator<V>: Wrapper class to make a TByteObjectHashMap conform to the `java.util.Map` API.
TByteShortHashMapDecorator: Wrapper class to make a TByteShortHashMap conform to the `java.util.Map` API.
TDoubleByteHashMapDecorator: Wrapper class to make a TDoubleByteHashMap conform to the `java.util.Map` API.
TDoubleDoubleHashMapDecorator: Wrapper class to make a TDoubleDoubleHashMap conform to the `java.util.Map` API.
TDoubleFloatHashMapDecorator: Wrapper class to make a TDoubleFloatHashMap conform to the `java.util.Map` API.
TDoubleHashSetDecorator: Wrapper class to make a TDoubleHashSet conform to the `java.util.Set` API.
TDoubleIntHashMapDecorator: Wrapper class to make a TDoubleIntHashMap conform to the `java.util.Map` API.
TDoubleLongHashMapDecorator: Wrapper class to make a TDoubleLongHashMap conform to the `java.util.Map` API.
TDoubleObjectHashMapDecorator<V>: Wrapper class to make a TDoubleObjectHashMap conform to the `java.util.Map` API.
TDoubleShortHashMapDecorator: Wrapper class to make a TDoubleShortHashMap conform to the `java.util.Map` API.
TFloatByteHashMapDecorator: Wrapper class to make a TFloatByteHashMap conform to the `java.util.Map` API.
TFloatDoubleHashMapDecorator: Wrapper class to make a TFloatDoubleHashMap conform to the `java.util.Map` API.
TFloatFloatHashMapDecorator: Wrapper class to make a TFloatFloatHashMap conform to the `java.util.Map` API.
TFloatHashSetDecorator: Wrapper class to make a TFloatHashSet conform to the `java.util.Set` API.
TFloatIntHashMapDecorator: Wrapper class to make a TFloatIntHashMap conform to the `java.util.Map` API.
TFloatLongHashMapDecorator: Wrapper class to make a TFloatLongHashMap conform to the `java.util.Map` API.
TFloatObjectHashMapDecorator<V>: Wrapper class to make a TFloatObjectHashMap conform to the `java.util.Map` API.
TFloatShortHashMapDecorator: Wrapper class to make a TFloatShortHashMap conform to the `java.util.Map` API.
TIntByteHashMapDecorator: Wrapper class to make a TIntByteHashMap conform to the `java.util.Map` API.
TIntDoubleHashMapDecorator: Wrapper class to make a TIntDoubleHashMap conform to the `java.util.Map` API.
TIntFloatHashMapDecorator: Wrapper class to make a TIntFloatHashMap conform to the `java.util.Map` API.
TIntHashSetDecorator: Wrapper class to make a TIntHashSet conform to the `java.util.Set` API.
TIntIntHashMapDecorator: Wrapper class to make a TIntIntHashMap conform to the `java.util.Map` API.
TIntLongHashMapDecorator: Wrapper class to make a TIntLongHashMap conform to the `java.util.Map` API.
TIntObjectHashMapDecorator<V>: Wrapper class to make a TIntObjectHashMap conform to the `java.util.Map` API.
TIntShortHashMapDecorator: Wrapper class to make a TIntShortHashMap conform to the `java.util.Map` API.
TLongByteHashMapDecorator: Wrapper class to make a TLongByteHashMap conform to the `java.util.Map` API.
TLongDoubleHashMapDecorator: Wrapper class to make a TLongDoubleHashMap conform to the `java.util.Map` API.
TLongFloatHashMapDecorator: Wrapper class to make a TLongFloatHashMap conform to the `java.util.Map` API.
TLongHashSetDecorator: Wrapper class to make a TLongHashSet conform to the `java.util.Set` API.
TLongIntHashMapDecorator: Wrapper class to make a TLongIntHashMap conform to the `java.util.Map` API.
TLongLongHashMapDecorator: Wrapper class to make a TLongLongHashMap conform to the `java.util.Map` API.
TLongObjectHashMapDecorator<V>: Wrapper class to make a TLongObjectHashMap conform to the `java.util.Map` API.
TLongShortHashMapDecorator: Wrapper class to make a TLongShortHashMap conform to the `java.util.Map` API.
TObjectByteHashMapDecorator<V>: Wrapper class to make a TObjectByteHashMap conform to the `java.util.Map` API.
TObjectDoubleHashMapDecorator<V>: Wrapper class to make a TObjectDoubleHashMap conform to the `java.util.Map` API.
TObjectFloatHashMapDecorator<V>: Wrapper class to make a TObjectFloatHashMap conform to the `java.util.Map` API.
TObjectIntHashMapDecorator<V>: Wrapper class to make a TObjectIntHashMap conform to the `java.util.Map` API.
TObjectLongHashMapDecorator<V>: Wrapper class to make a TObjectLongHashMap conform to the `java.util.Map` API.
TObjectShortHashMapDecorator<V>: Wrapper class to make a TObjectShortHashMap conform to the `java.util.Map` API.
TShortByteHashMapDecorator: Wrapper class to make a TShortByteHashMap conform to the `java.util.Map` API.
TShortDoubleHashMapDecorator: Wrapper class to make a TShortDoubleHashMap conform to the `java.util.Map` API.
TShortFloatHashMapDecorator: Wrapper class to make a TShortFloatHashMap conform to the `java.util.Map` API.
TShortHashSetDecorator: Wrapper class to make a TShortHashSet conform to the `java.util.Set` API.
TShortIntHashMapDecorator: Wrapper class to make a TShortIntHashMap conform to the `java.util.Map` API.
TShortLongHashMapDecorator: Wrapper class to make a TShortLongHashMap conform to the `java.util.Map` API.
TShortObjectHashMapDecorator<V>: Wrapper class to make a TShortObjectHashMap conform to the `java.util.Map` API.
TShortShortHashMapDecorator: Wrapper class to make a TShortShortHashMap conform to the `java.util.Map` API.

## Package gnu.trove.decorator Description

GNU Trove: Decorators for java.util.{Map,Set} compatability

The classes in this package serve to wrap the Trove primitive collections so that they can be used in operations that require a `java.util.Map` or `java.util.Set`.

This is form of adaptation is extremely inefficient and so should only be undertaken as a last resort or when you don't care about performance (in which case Trove is probably not appropriate anyway).

The general pattern here is that you "wrap" a Trove collection with the appropriate decorator object to obtain a java.util.Map or Set. The implementations do not retain references to the Objects they accept/return (all calls are delegated to the underlying trove collection), so you should not rely on object identity within those collections.

You may extend the decorator classes to use canonical values if your dataset permits. For some applications, this will help reduce the cost of (un)wrapping primitive values. Note, however, that such datasets are probably small/restricted enough that you should again ask yourself whether Trove is appropriate in the first place. Caveat programmer.</p. <hr> Last modified: Mon Sep 23 22:55:32 PDT 2002

GNU Trove

GNU Trove is copyright © 2001-2009 Eric D. Friedman. All Rights Reserved.