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