| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public final enum Modifier extends Enum
Represents a modifier on a program element such as a class, method, or field.
Not all modifiers are applicable to all kinds of elements. When two or more modifiers appear in the source code of an element then it is customary, though not required, that they appear in the same order as the constants listed in the detail section below.
Note that it is possible additional modifiers will be added in future versions of the platform.
Field Summary | |
---|---|
static Modifier |
ABSTRACT
The modifier |
static Modifier |
FINAL
The modifier |
static Modifier |
NATIVE
The modifier |
static Modifier |
PRIVATE
The modifier |
static Modifier |
PROTECTED
The modifier |
static Modifier |
PUBLIC
The modifier |
static Modifier |
STATIC
The modifier |
static Modifier |
STRICTFP
The modifier |
static Modifier |
SYNCHRONIZED
The modifier |
static Modifier |
TRANSIENT
The modifier |
static Modifier |
VOLATILE
The modifier |
Method Summary | |
---|---|
String |
toString() Returns this modifier's name in lowercase. |
static Modifier |
|
static Modifier[] |
values() |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Modifier ABSTRACT
public static final Modifier FINAL
public static final Modifier NATIVE
public static final Modifier PRIVATE
public static final Modifier PROTECTED
public static final Modifier PUBLIC
public static final Modifier STATIC
public static final Modifier STRICTFP
public static final Modifier SYNCHRONIZED
public static final Modifier TRANSIENT
public static final Modifier VOLATILE
Method Detail |
---|
public String toString()
toString
in class Enum
public static Modifier valueOf(String name)
name
public static Modifier[] values()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |