Serializable
, Comparable<Scopes>
public enum Scopes extends Enum<Scopes>
Enum Constant | Description |
---|---|
PACKAGE |
The package scope.
|
PRIVATE |
The private scope.
|
PROTECTED |
The protected scope.
|
PUBLIC |
The public scope.
|
Modifier and Type | Method | Description |
---|---|---|
static Scopes |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Scopes[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scopes PUBLIC
public static final Scopes PROTECTED
public static final Scopes PACKAGE
public static final Scopes PRIVATE
public static Scopes[] values()
for (Scopes c : Scopes.values()) System.out.println(c);
public static Scopes 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 © 2011–2019. All rights reserved.