public enum ModifierKind extends java.lang.Enum<ModifierKind>
Enum Constant and Description |
---|
ABSTRACT
The modifier abstract
|
FINAL
The modifier final
|
NATIVE
The modifier native
|
PRIVATE
The modifier private
|
PROTECTED
The modifier protected
|
PUBLIC
The modifier public
|
STATIC
The modifier static
|
STRICTFP
The modifier strictfp
|
SYNCHRONIZED
The modifier synchronized
|
TRANSIENT
The modifier transient
|
VOLATILE
The modifier volatile
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns this modifier's name in lowercase.
|
static ModifierKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModifierKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifierKind PUBLIC
public static final ModifierKind PROTECTED
public static final ModifierKind PRIVATE
public static final ModifierKind ABSTRACT
public static final ModifierKind STATIC
public static final ModifierKind FINAL
public static final ModifierKind TRANSIENT
public static final ModifierKind VOLATILE
public static final ModifierKind SYNCHRONIZED
public static final ModifierKind NATIVE
public static final ModifierKind STRICTFP
public static ModifierKind[] values()
for (ModifierKind c : ModifierKind.values()) System.out.println(c);
public static ModifierKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ModifierKind>
Copyright © 2007–2021 Inria. All rights reserved.