public static enum CampBX.OrderType extends Enum<CampBX.OrderType>
Modifier and Type | Method and Description |
---|---|
static CampBX.OrderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampBX.OrderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampBX.OrderType Buy
public static final CampBX.OrderType Sell
public static CampBX.OrderType[] values()
for (CampBX.OrderType c : CampBX.OrderType.values()) System.out.println(c);
public static CampBX.OrderType 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 © 2012–2017 Xeiam, LLC. All rights reserved.