public enum Access extends Enum<Access>
| Enum Constant and Description |
|---|
ABSTRACT |
FINAL |
INTERFACE |
NATIVE |
PRIVATE |
PROTECTED |
PUBLIC |
STATIC |
SUPER
always set by new compilers
|
SYNCHRONIZED |
TRANSIENT |
VOLATILE |
| Modifier and Type | Method and Description |
|---|---|
static Set<Access> |
fromArray(Access... flags) |
static Set<Access> |
fromFlags(char flags,
boolean forClass) |
static char |
toFlags(Set<Access> lst) |
static String |
toPrefix(Set<Access> accessFlags) |
static Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Access PUBLIC
public static final Access PRIVATE
public static final Access PROTECTED
public static final Access STATIC
public static final Access FINAL
public static final Access SUPER
public static final Access SYNCHRONIZED
public static final Access VOLATILE
public static final Access TRANSIENT
public static final Access NATIVE
public static final Access INTERFACE
public static final Access ABSTRACT
public static Access[] values()
for (Access c : Access.values()) System.out.println(c);
public static Access 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 © 1998–2017 1&1. All rights reserved.