public enum Restriction extends Enum<Restriction>
| Modifier and Type | Method and Description |
|---|---|
static Restriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Restriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restriction BY
public static final Restriction SA
public static final Restriction NC
public static final Restriction ND
public static final Restriction UNKOWN
public static Restriction[] values()
for (Restriction c : Restriction.values()) System.out.println(c);
public static Restriction 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 © 2007–2019 Andreas W. Bartels. All rights reserved.