public enum Side extends Enum<Side>
Enum Constant and Description |
---|
ASK
The ASK (or OFFER) side is how much the bank is asking for to buy its own
assets, or in other words how much the user can buy the asset for.
|
BID
The BID side is how much the bank is bidding for the user's asset, or in other words
how much the user can sell the asset for.
|
Modifier and Type | Method and Description |
---|---|
static Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Side BID
public static final Side ASK
public static Side[] values()
for (Side c : Side.values()) System.out.println(c);
public static Side 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 © 2015 Caplin Systems.