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