public enum VisibilityModifier extends Enum<VisibilityModifier>
Enum Constant and Description |
---|
DEFAULT
Modifier: default.
|
PRIVATE
Modifier: private.
|
PROTECTED
Modifier: protected.
|
PUBLIC
Modifier: public.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Return the value to be stored.
|
static VisibilityModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisibilityModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibilityModifier PRIVATE
public static final VisibilityModifier DEFAULT
public static final VisibilityModifier PROTECTED
public static final VisibilityModifier PUBLIC
public static VisibilityModifier[] values()
for (VisibilityModifier c : VisibilityModifier.values()) System.out.println(c);
public static VisibilityModifier 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 getValue()
Copyright © 2016 buschmais GbR. All rights reserved.