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