public enum RoomSearchType extends Enum<RoomSearchType>
Enum Constant and Description |
---|
ROOM_ADMIN_ADDRESS
By room admin address
|
ROOM_ADMIN_NAME
By room admin name
|
ROOM_NAME
By room name
|
Modifier and Type | Method and Description |
---|---|
static RoomSearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoomSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoomSearchType ROOM_NAME
public static final RoomSearchType ROOM_ADMIN_NAME
public static final RoomSearchType ROOM_ADMIN_ADDRESS
public static RoomSearchType[] values()
for (RoomSearchType c : RoomSearchType.values()) System.out.println(c);
public static RoomSearchType 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.