public enum StatisticType extends Enum<StatisticType>
Enum Constant and Description |
---|
ClosePrice |
FixingPrice |
OpeningPrice |
OpenInterest |
SessionHighBid |
SessionLowOffer |
SettlementPrice |
SimulatedBuy |
SimulatedSell |
Trade |
TradeVolume |
TradingSessionHighPrice |
TradingSessionLowPrice |
Unknown |
Modifier and Type | Method and Description |
---|---|
static StatisticType |
fromCode(char code) |
char |
getCode() |
static boolean |
isStatistic(char code) |
static StatisticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatisticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatisticType Trade
public static final StatisticType OpeningPrice
public static final StatisticType ClosePrice
public static final StatisticType SettlementPrice
public static final StatisticType TradingSessionHighPrice
public static final StatisticType TradingSessionLowPrice
public static final StatisticType TradeVolume
public static final StatisticType OpenInterest
public static final StatisticType SimulatedSell
public static final StatisticType SimulatedBuy
public static final StatisticType SessionHighBid
public static final StatisticType SessionLowOffer
public static final StatisticType FixingPrice
public static final StatisticType Unknown
public static StatisticType[] values()
for (StatisticType c : StatisticType.values()) System.out.println(c);
public static StatisticType 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 char getCode()
public static boolean isStatistic(char code)
public static StatisticType fromCode(char code)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.