public static enum ChatRoom.RoomConfigParam extends Enum<ChatRoom.RoomConfigParam>
| Enum Constant and Description |
|---|
ACCESS_MODE |
| Modifier and Type | Method and Description |
|---|---|
String |
val() |
static ChatRoom.RoomConfigParam |
valueFrom(String val) |
static ChatRoom.RoomConfigParam |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatRoom.RoomConfigParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatRoom.RoomConfigParam ACCESS_MODE
public static ChatRoom.RoomConfigParam[] values()
for (ChatRoom.RoomConfigParam c : ChatRoom.RoomConfigParam.values()) System.out.println(c);
public static ChatRoom.RoomConfigParam 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 val()
public static ChatRoom.RoomConfigParam valueFrom(String val) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2019. All rights reserved.