public static enum IInstrumentGroup.Type extends Enum<IInstrumentGroup.Type>
Modifier and Type | Method and Description |
---|---|
static IInstrumentGroup.Type |
getTypeByGroupName(String groupName) |
static IInstrumentGroup.Type |
getTypeByInstrumentType(IFinancialInstrument.Type instrumentType) |
boolean |
isCfd() |
boolean |
isForex() |
boolean |
isMetal() |
static IInstrumentGroup.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IInstrumentGroup.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IInstrumentGroup.Type FOREX
public static final IInstrumentGroup.Type METAL
public static final IInstrumentGroup.Type CFD
public static final IInstrumentGroup.Type UNKNOWN
public static IInstrumentGroup.Type[] values()
for (IInstrumentGroup.Type c : IInstrumentGroup.Type.values()) System.out.println(c);
public static IInstrumentGroup.Type 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 boolean isForex()
public boolean isMetal()
public boolean isCfd()
public static IInstrumentGroup.Type getTypeByGroupName(String groupName)
public static IInstrumentGroup.Type getTypeByInstrumentType(IFinancialInstrument.Type instrumentType)
Copyright © 2016. All rights reserved.