public static enum Slot.Arity extends Enum<Slot.Arity>
| Enum Constant and Description |
|---|
ANY
Zero or many.
|
MANY
One or many.
|
OPT
Zero of one.
|
| Modifier and Type | Method and Description |
|---|---|
static Slot.Arity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Slot.Arity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Slot.Arity MANY
public static final Slot.Arity ANY
public static final Slot.Arity OPT
public static Slot.Arity[] values()
for (Slot.Arity c : Slot.Arity.values()) System.out.println(c);
public static Slot.Arity 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 © 2009–2014 requs.org. All rights reserved.