GNU Trove

gnu.trove
Class TDecorators

java.lang.Object
  extended by gnu.trove.TDecorators

public class TDecorators
extends java.lang.Object

This is a static utility class that provides functions for simplifying creation of decorators.

Since:
Trove 2.1

Method Summary
static java.util.Map<java.lang.Byte,java.lang.Byte> wrap(TByteByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Byte,java.lang.Character> wrap(TByteCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Byte,java.lang.Double> wrap(TByteDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Byte,java.lang.Float> wrap(TByteFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Byte,java.lang.Integer> wrap(TByteIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Byte> wrap(TByteList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Byte,java.lang.Long> wrap(TByteLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Byte,T>
wrap(TByteObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Byte> wrap(TByteSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Byte,java.lang.Short> wrap(TByteShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Character,java.lang.Byte> wrap(TCharByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Character,java.lang.Character> wrap(TCharCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Character,java.lang.Double> wrap(TCharDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Character,java.lang.Float> wrap(TCharFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Character,java.lang.Integer> wrap(TCharIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Character> wrap(TCharList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Character,java.lang.Long> wrap(TCharLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Character,T>
wrap(TCharObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Character> wrap(TCharSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Character,java.lang.Short> wrap(TCharShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Double,java.lang.Byte> wrap(TDoubleByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Double,java.lang.Character> wrap(TDoubleCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Double,java.lang.Double> wrap(TDoubleDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Double,java.lang.Float> wrap(TDoubleFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Double,java.lang.Integer> wrap(TDoubleIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Double> wrap(TDoubleList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Double,java.lang.Long> wrap(TDoubleLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Double,T>
wrap(TDoubleObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Double> wrap(TDoubleSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Double,java.lang.Short> wrap(TDoubleShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Float,java.lang.Byte> wrap(TFloatByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Float,java.lang.Character> wrap(TFloatCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Float,java.lang.Double> wrap(TFloatDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Float,java.lang.Float> wrap(TFloatFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Float,java.lang.Integer> wrap(TFloatIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Float> wrap(TFloatList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Float,java.lang.Long> wrap(TFloatLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Float,T>
wrap(TFloatObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Float> wrap(TFloatSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Float,java.lang.Short> wrap(TFloatShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Integer,java.lang.Byte> wrap(TIntByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Integer,java.lang.Character> wrap(TIntCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Integer,java.lang.Double> wrap(TIntDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Integer,java.lang.Float> wrap(TIntFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Integer,java.lang.Integer> wrap(TIntIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Integer> wrap(TIntList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Integer,java.lang.Long> wrap(TIntLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Integer,T>
wrap(TIntObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Integer> wrap(TIntSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Integer,java.lang.Short> wrap(TIntShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Long,java.lang.Byte> wrap(TLongByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Long,java.lang.Character> wrap(TLongCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Long,java.lang.Double> wrap(TLongDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Long,java.lang.Float> wrap(TLongFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Long,java.lang.Integer> wrap(TLongIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Long> wrap(TLongList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Long,java.lang.Long> wrap(TLongLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Long,T>
wrap(TLongObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Long> wrap(TLongSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Long,java.lang.Short> wrap(TLongShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Byte>
wrap(TObjectByteMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Character>
wrap(TObjectCharMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Double>
wrap(TObjectDoubleMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Float>
wrap(TObjectFloatMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Integer>
wrap(TObjectIntMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Long>
wrap(TObjectLongMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<T,java.lang.Short>
wrap(TObjectShortMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Short,java.lang.Byte> wrap(TShortByteMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Short,java.lang.Character> wrap(TShortCharMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Short,java.lang.Double> wrap(TShortDoubleMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Short,java.lang.Float> wrap(TShortFloatMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Map<java.lang.Short,java.lang.Integer> wrap(TShortIntMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.List<java.lang.Short> wrap(TShortList list)
          Wrap the given list in a decorator that uses the standard List interface.
static java.util.Map<java.lang.Short,java.lang.Long> wrap(TShortLongMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
static
<T> java.util.Map<java.lang.Short,T>
wrap(TShortObjectMap<T> map)
          Wrap the given map in a decorator that uses the standard Map interface.
static java.util.Set<java.lang.Short> wrap(TShortSet set)
          Wrap the given set in a decorator that uses the standard Set interface.
static java.util.Map<java.lang.Short,java.lang.Short> wrap(TShortShortMap map)
          Wrap the given map in a decorator that uses the standard Map interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrap

public static java.util.Map<java.lang.Double,java.lang.Double> wrap(TDoubleDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Float> wrap(TDoubleFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Integer> wrap(TDoubleIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Long> wrap(TDoubleLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Byte> wrap(TDoubleByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Short> wrap(TDoubleShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Double,java.lang.Character> wrap(TDoubleCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Double> wrap(TFloatDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Float> wrap(TFloatFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Integer> wrap(TFloatIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Long> wrap(TFloatLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Byte> wrap(TFloatByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Short> wrap(TFloatShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Float,java.lang.Character> wrap(TFloatCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Double> wrap(TIntDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Float> wrap(TIntFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Integer> wrap(TIntIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Long> wrap(TIntLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Byte> wrap(TIntByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Short> wrap(TIntShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Integer,java.lang.Character> wrap(TIntCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Double> wrap(TLongDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Float> wrap(TLongFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Integer> wrap(TLongIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Long> wrap(TLongLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Byte> wrap(TLongByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Short> wrap(TLongShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Long,java.lang.Character> wrap(TLongCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Double> wrap(TByteDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Float> wrap(TByteFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Integer> wrap(TByteIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Long> wrap(TByteLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Byte> wrap(TByteByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Short> wrap(TByteShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Byte,java.lang.Character> wrap(TByteCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Double> wrap(TShortDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Float> wrap(TShortFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Integer> wrap(TShortIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Long> wrap(TShortLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Byte> wrap(TShortByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Short> wrap(TShortShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Short,java.lang.Character> wrap(TShortCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Double> wrap(TCharDoubleMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Float> wrap(TCharFloatMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Integer> wrap(TCharIntMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Long> wrap(TCharLongMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Byte> wrap(TCharByteMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Short> wrap(TCharShortMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Map<java.lang.Character,java.lang.Character> wrap(TCharCharMap map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Double> wrap(TObjectDoubleMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectDoubleMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Float> wrap(TObjectFloatMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectFloatMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Integer> wrap(TObjectIntMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectIntMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Long> wrap(TObjectLongMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectLongMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Byte> wrap(TObjectByteMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectByteMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Short> wrap(TObjectShortMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectShortMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<T,java.lang.Character> wrap(TObjectCharMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TObjectCharMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Double,T> wrap(TDoubleObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TDoubleObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Float,T> wrap(TFloatObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TFloatObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Integer,T> wrap(TIntObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TIntObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Long,T> wrap(TLongObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TLongObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Byte,T> wrap(TByteObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TByteObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Short,T> wrap(TShortObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TShortObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static <T> java.util.Map<java.lang.Character,T> wrap(TCharObjectMap<T> map)
Wrap the given map in a decorator that uses the standard Map interface.

Parameters:
map - the TCharObjectMap to be wrapped
Returns:
the wrapped map.

wrap

public static java.util.Set<java.lang.Double> wrap(TDoubleSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TDoubleSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Float> wrap(TFloatSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TFloatSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Integer> wrap(TIntSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TIntSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Long> wrap(TLongSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TLongSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Byte> wrap(TByteSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TByteSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Short> wrap(TShortSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TShortSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.Set<java.lang.Character> wrap(TCharSet set)
Wrap the given set in a decorator that uses the standard Set interface.

Parameters:
set - the TCharSet to be wrapped
Returns:
the wrapped set.

wrap

public static java.util.List<java.lang.Double> wrap(TDoubleList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TDoubleList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Float> wrap(TFloatList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TFloatList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Integer> wrap(TIntList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TIntList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Long> wrap(TLongList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TLongList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Byte> wrap(TByteList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TByteList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Short> wrap(TShortList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TShortList to be wrapped
Returns:
the wrapped list.

wrap

public static java.util.List<java.lang.Character> wrap(TCharList list)
Wrap the given list in a decorator that uses the standard List interface.

Parameters:
list - the TCharList to be wrapped
Returns:
the wrapped list.

GNU Trove