public static enum TypeCache.Implementation extends java.lang.Enum<TypeCache.Implementation>
| Enum Constant and Description |
|---|
MAP
Just a simple map.
|
SYNC_MAP
Synchronized map.
|
SYNC_WEAK
Synchronized and weak map.
|
WEAK
Weak map.
|
| Modifier and Type | Method and Description |
|---|---|
<A> java.util.Map<java.lang.Class<?>,A> |
createMap()
Creates a map based on type.
|
static TypeCache.Implementation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeCache.Implementation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeCache.Implementation MAP
public static final TypeCache.Implementation SYNC_MAP
public static final TypeCache.Implementation WEAK
public static final TypeCache.Implementation SYNC_WEAK
public static TypeCache.Implementation[] values()
for (TypeCache.Implementation c : TypeCache.Implementation.values()) System.out.println(c);
public static TypeCache.Implementation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <A> java.util.Map<java.lang.Class<?>,A> createMap()
Copyright © 2003-present Jodd Team