public static enum Options.Multiplicity extends java.lang.Enum<Options.Multiplicity>
Enum Constant and Description |
---|
ONCE
Option needs to occur exactly once
|
ONCE_OR_MORE
Option needs to occur at least once
|
ZERO_OR_MORE
Option can occur any number of times
|
ZERO_OR_ONCE
Option needs to occur either once or not at all
|
Modifier and Type | Method and Description |
---|---|
static Options.Multiplicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Options.Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.Multiplicity ONCE
public static final Options.Multiplicity ONCE_OR_MORE
public static final Options.Multiplicity ZERO_OR_ONCE
public static final Options.Multiplicity ZERO_OR_MORE
public static Options.Multiplicity[] values()
for (Options.Multiplicity c : Options.Multiplicity.values()) System.out.println(c);
public static Options.Multiplicity 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 null