|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ListMapNesting.Type>
org.jjoost.collections.ListMapNesting.Type
public static enum ListMapNesting.Type
An enumeration of the nesting types for ListMap
| Enum Constant Summary | |
|---|---|
INLINE
Store the values for duplicates keys simply as extra entries using the same mechanism as an equivalent Map would use to store its values. |
|
NESTED
Store the values for duplicates keys in a nested MultiSet. |
|
| Method Summary | |
|---|---|
static ListMapNesting.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ListMapNesting.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ListMapNesting.Type INLINE
NESTED for small numbers of duplicate keys.
public static final ListMapNesting.Type NESTED
MultiSet. Typically this will be more efficient than
INLINE for moderate to large average numbers of duplicate keys.
| Method Detail |
|---|
public static ListMapNesting.Type[] values()
for (ListMapNesting.Type c : ListMapNesting.Type.values()) System.out.println(c);
public static ListMapNesting.Type 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||