public static enum Forum.Access extends Enum<Forum.Access>
| Enum Constant and Description |
|---|
AGENTS_ONLY |
EVERYBODY |
LOGGED_IN |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Forum.Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Forum.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Forum.Access EVERYBODY
public static final Forum.Access LOGGED_IN
public static final Forum.Access AGENTS_ONLY
public static Forum.Access[] values()
for (Forum.Access c : Forum.Access.values()) System.out.println(c);
public static Forum.Access 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 toString()
toString in class Enum<Forum.Access>Copyright © 2013–2020. All rights reserved.