|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MultiMapNesting.Type>
org.jjoost.collections.MultiMapNesting.Type
public static enum MultiMapNesting.Type
An enumeration of the nesting types for MultiMap
| 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 Set. |
|
| Method Summary | |
|---|---|
static MultiMapNesting.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MultiMapNesting.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 MultiMapNesting.Type INLINE
NESTED for small numbers of duplicate keys.
public static final MultiMapNesting.Type NESTED
Set. Typically this will be more efficient than
INLINE for moderate to large average numbers of duplicate keys.
| Method Detail |
|---|
public static MultiMapNesting.Type[] values()
for (MultiMapNesting.Type c : MultiMapNesting.Type.values()) System.out.println(c);
public static MultiMapNesting.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 | |||||||||