|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MultiSetNesting.Type>
org.jjoost.collections.MultiSetNesting.Type
public static enum MultiSetNesting.Type
An enumeration of the nesting types for MultiSet
| Enum Constant Summary | |
|---|---|
COUNTING
Store duplicate values merely as an integer against the first such value encountered This is the most efficient means of storing duplicate values. |
|
INLINE
Store duplicate values "inline" - i.e. |
|
NESTED
Store duplicate values in a nested set or list. |
|
| Method Summary | |
|---|---|
static MultiSetNesting.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MultiSetNesting.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 MultiSetNesting.Type COUNTING
public static final MultiSetNesting.Type INLINE
NESTED for very small numbers of duplicates
public static final MultiSetNesting.Type NESTED
INLINE for moderate to large numbers of duplicates (e.g. above 3 on average)
| Method Detail |
|---|
public static MultiSetNesting.Type[] values()
for (MultiSetNesting.Type c : MultiSetNesting.Type.values()) System.out.println(c);
public static MultiSetNesting.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 | |||||||||