public enum CollectionTypeMappings extends Enum<CollectionTypeMappings>
| Enum Constant and Description |
|---|
ABSTRACT_COLLECTION |
ARRAY_DEQUE |
ARRAY_LIST |
HASH_SET |
LINKED_HASH_SET |
LINKED_LIST |
TREE_SET |
| Modifier and Type | Method and Description |
|---|---|
static String |
forClass(Class<?> c)
Return a primitive type for a given class, if any
|
static CollectionTypeMappings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionTypeMappings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionTypeMappings HASH_SET
public static final CollectionTypeMappings TREE_SET
public static final CollectionTypeMappings LINKED_HASH_SET
public static final CollectionTypeMappings ARRAY_LIST
public static final CollectionTypeMappings LINKED_LIST
public static final CollectionTypeMappings ARRAY_DEQUE
public static final CollectionTypeMappings ABSTRACT_COLLECTION
public static CollectionTypeMappings[] values()
for (CollectionTypeMappings c : CollectionTypeMappings.values()) System.out.println(c);
public static CollectionTypeMappings valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.