public static enum Modifier.Keyword extends Enum<Modifier.Keyword>
Enum Constant and Description |
---|
ABSTRACT |
DEFAULT |
FINAL |
NATIVE |
PRIVATE |
PROTECTED |
PUBLIC |
STATIC |
STRICTFP |
SYNCHRONIZED |
TRANSIENT |
TRANSITIVE |
VOLATILE |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static Modifier.Keyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Modifier.Keyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Modifier.Keyword DEFAULT
public static final Modifier.Keyword PUBLIC
public static final Modifier.Keyword PROTECTED
public static final Modifier.Keyword PRIVATE
public static final Modifier.Keyword ABSTRACT
public static final Modifier.Keyword STATIC
public static final Modifier.Keyword FINAL
public static final Modifier.Keyword TRANSIENT
public static final Modifier.Keyword VOLATILE
public static final Modifier.Keyword SYNCHRONIZED
public static final Modifier.Keyword NATIVE
public static final Modifier.Keyword STRICTFP
public static final Modifier.Keyword TRANSITIVE
public static Modifier.Keyword[] values()
for (Modifier.Keyword c : Modifier.Keyword.values()) System.out.println(c);
public static Modifier.Keyword 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 String asString()
Copyright © 2007–2022. All rights reserved.