Package gnu.trove
Class Decorators
- java.lang.Object
-
- gnu.trove.Decorators
-
public class Decorators extends java.lang.Object
This is a static utility class that provides functions for simplifying creation of decorators.- Since:
- Trove 2.1
- Author:
- Robert D. Eden
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.Byte,java.lang.Byte>
wrap(TByteByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Byte,java.lang.Double>
wrap(TByteDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Byte,java.lang.Float>
wrap(TByteFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Byte>
wrap(TByteHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Byte,java.lang.Integer>
wrap(TByteIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Byte,java.lang.Long>
wrap(TByteLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Byte,T>
wrap(TByteObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Byte,java.lang.Short>
wrap(TByteShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Double,java.lang.Byte>
wrap(TDoubleByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Double,java.lang.Double>
wrap(TDoubleDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Double,java.lang.Float>
wrap(TDoubleFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Double>
wrap(TDoubleHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Double,java.lang.Integer>
wrap(TDoubleIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Double,java.lang.Long>
wrap(TDoubleLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Double,T>
wrap(TDoubleObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Double,java.lang.Short>
wrap(TDoubleShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Float,java.lang.Byte>
wrap(TFloatByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Float,java.lang.Double>
wrap(TFloatDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Float,java.lang.Float>
wrap(TFloatFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Float>
wrap(TFloatHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Float,java.lang.Integer>
wrap(TFloatIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Float,java.lang.Long>
wrap(TFloatLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Float,T>
wrap(TFloatObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Float,java.lang.Short>
wrap(TFloatShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Integer,java.lang.Byte>
wrap(TIntByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Integer,java.lang.Double>
wrap(TIntDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Integer,java.lang.Float>
wrap(TIntFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Integer>
wrap(TIntHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Integer,java.lang.Integer>
wrap(TIntIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Integer,java.lang.Long>
wrap(TIntLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Integer,T>
wrap(TIntObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Integer,java.lang.Short>
wrap(TIntShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Long,java.lang.Byte>
wrap(TLongByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Long,java.lang.Double>
wrap(TLongDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Long,java.lang.Float>
wrap(TLongFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Long>
wrap(TLongHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Long,java.lang.Integer>
wrap(TLongIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Long,java.lang.Long>
wrap(TLongLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Long,T>
wrap(TLongObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Long,java.lang.Short>
wrap(TLongShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Byte>
wrap(TObjectByteHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Double>
wrap(TObjectDoubleHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Float>
wrap(TObjectFloatHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Integer>
wrap(TObjectIntHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Long>
wrap(TObjectLongHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<T,java.lang.Short>
wrap(TObjectShortHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Short,java.lang.Byte>
wrap(TShortByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Short,java.lang.Double>
wrap(TShortDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Short,java.lang.Float>
wrap(TShortFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Set<java.lang.Short>
wrap(TShortHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.static java.util.Map<java.lang.Short,java.lang.Integer>
wrap(TShortIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Short,java.lang.Long>
wrap(TShortLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.static <T> java.util.Map<java.lang.Short,T>
wrap(TShortObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.static java.util.Map<java.lang.Short,java.lang.Short>
wrap(TShortShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
-
-
Method Detail
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Double> wrap(TDoubleDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Float> wrap(TDoubleFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Integer> wrap(TDoubleIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Long> wrap(TDoubleLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Byte> wrap(TDoubleByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Double,java.lang.Short> wrap(TDoubleShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Double> wrap(TFloatDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Float> wrap(TFloatFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Integer> wrap(TFloatIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Long> wrap(TFloatLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Byte> wrap(TFloatByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Float,java.lang.Short> wrap(TFloatShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Double> wrap(TIntDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Float> wrap(TIntFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Integer> wrap(TIntIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Long> wrap(TIntLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Byte> wrap(TIntByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Integer,java.lang.Short> wrap(TIntShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Double> wrap(TLongDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Float> wrap(TLongFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Integer> wrap(TLongIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Long> wrap(TLongLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Byte> wrap(TLongByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Long,java.lang.Short> wrap(TLongShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Double> wrap(TByteDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Float> wrap(TByteFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Integer> wrap(TByteIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Long> wrap(TByteLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Byte> wrap(TByteByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Byte,java.lang.Short> wrap(TByteShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Double> wrap(TShortDoubleHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Float> wrap(TShortFloatHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Integer> wrap(TShortIntHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Long> wrap(TShortLongHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Byte> wrap(TShortByteHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Map<java.lang.Short,java.lang.Short> wrap(TShortShortHashMap map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Double> wrap(TObjectDoubleHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Float> wrap(TObjectFloatHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Integer> wrap(TObjectIntHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Long> wrap(TObjectLongHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Byte> wrap(TObjectByteHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<T,java.lang.Short> wrap(TObjectShortHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Double,T> wrap(TDoubleObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Float,T> wrap(TFloatObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Integer,T> wrap(TIntObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Long,T> wrap(TLongObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Byte,T> wrap(TByteObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static <T> java.util.Map<java.lang.Short,T> wrap(TShortObjectHashMap<T> map)
Wrap the given map in a decorator that uses the standardMap
interface.
-
wrap
public static java.util.Set<java.lang.Double> wrap(TDoubleHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
wrap
public static java.util.Set<java.lang.Float> wrap(TFloatHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
wrap
public static java.util.Set<java.lang.Integer> wrap(TIntHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
wrap
public static java.util.Set<java.lang.Long> wrap(TLongHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
wrap
public static java.util.Set<java.lang.Byte> wrap(TByteHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
wrap
public static java.util.Set<java.lang.Short> wrap(TShortHashSet set)
Wrap the given set in a decorator that uses the standardSet
interface.
-
-