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