public static enum UsersOrder.InChannel extends Enum<UsersOrder.InChannel>
| Enum Constant and Description |
|---|
NONE
sort by username.
|
STATUS
sort by status (online, away, dnd, offline).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSort() |
static UsersOrder.InChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsersOrder.InChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsersOrder.InChannel NONE
public static final UsersOrder.InChannel STATUS
public static UsersOrder.InChannel[] values()
for (UsersOrder.InChannel c : UsersOrder.InChannel.values()) System.out.println(c);
public static UsersOrder.InChannel 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 getSort()
Copyright © 2019. All rights reserved.