public enum Access extends Enum<Access>
| Enum Constant and Description |
|---|
ABSTRACT |
ANNOTATION |
BRIDGE |
ENUM |
FINAL |
INTERFACE |
NATIVE |
PRIVATE |
PROTECTED |
PUBLIC |
STATIC |
STRICT |
SUPER |
SYNCHRONIZED |
SYNTHETIC |
TRANSIENT |
VARARGS |
VOLATILE |
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<Access> |
a(Access... access) |
int |
getModifier() |
static int |
toAccessModifier(Iterable<Access> accesses) |
String |
toString() |
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 BRIDGE
public static final Access VARARGS
public static final Access TRANSIENT
public static final Access NATIVE
public static final Access INTERFACE
public static final Access ABSTRACT
public static final Access STRICT
public static final Access SYNTHETIC
public static final Access ANNOTATION
public static final Access ENUM
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 nullpublic int getModifier()
Copyright © 2012–2023. All rights reserved.