public enum Mult extends Enum<Mult>
| Modifier and Type | Method and Description |
|---|---|
static Mult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mult ONE
public static final Mult ZERO_ONE
public static final Mult MANY
public static final Mult ONE_MANY
public static Mult[] values()
for (Mult c : Mult.values()) System.out.println(c);
public static Mult 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 © 2012–2022. All rights reserved.