public enum Modifier extends Enum<Modifier>
| Modifier and Type | Method and Description |
|---|---|
static Modifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Modifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Modifier PRIVATE
public static final Modifier DEFAULT
public static final Modifier PROTECTED
public static final Modifier PUBLIC
public static Modifier[] values()
for (Modifier c : Modifier.values()) System.out.println(c);
public static Modifier 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 Harald Pehl. All Rights Reserved.