public class TroveWrapper
extends java.lang.Object
Constructor and Description |
---|
TroveWrapper() |
Modifier and Type | Method and Description |
---|---|
static <TValue> java.util.List<TValue> |
getDecoratedList(java.lang.Object troveList)
Retrieve a Java wrapper for the corresponding Trove list.
|
static <TKey,TValue> |
getDecoratedMap(java.lang.Object troveMap)
Retrieve a Java wrapper for the corresponding Trove map.
|
static <TValue> java.util.Set<TValue> |
getDecoratedSet(java.lang.Object troveSet)
Retrieve a Java wrapper for the corresponding Trove set.
|
public static <TKey,TValue> java.util.Map<TKey,TValue> getDecoratedMap(@Nonnull java.lang.Object troveMap)
troveMap
- - the trove map to wrap.java.lang.IllegalStateException
- If GNU Trove cannot be found in the class map.java.lang.IllegalArgumentException
- If troveMap is NULL.FieldAccessException
- Error in wrapper method or lack of reflection permissions.public static <TValue> java.util.Set<TValue> getDecoratedSet(@Nonnull java.lang.Object troveSet)
troveSet
- - the trove set to wrap.java.lang.IllegalStateException
- If GNU Trove cannot be found in the class map.java.lang.IllegalArgumentException
- If troveSet is NULL.FieldAccessException
- Error in wrapper method or lack of reflection permissions.public static <TValue> java.util.List<TValue> getDecoratedList(@Nonnull java.lang.Object troveList)
troveList
- - the trove list to wrap.java.lang.IllegalStateException
- If GNU Trove cannot be found in the class map.java.lang.IllegalArgumentException
- If troveList is NULL.FieldAccessException
- Error in wrapper method or lack of reflection permissions.