com.dxfeed.event.candle
Enum CandlePrice
java.lang.Object
java.lang.Enum<CandlePrice>
com.dxfeed.event.candle.CandlePrice
- All Implemented Interfaces:
- CandleSymbolAttribute<CandlePrice>, java.io.Serializable, java.lang.Comparable<CandlePrice>
public enum CandlePrice
- extends java.lang.Enum<CandlePrice>
- implements CandleSymbolAttribute<CandlePrice>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LAST
public static final CandlePrice LAST
BID
public static final CandlePrice BID
ASK
public static final CandlePrice ASK
MARK
public static final CandlePrice MARK
DEFAULT
public static final CandlePrice DEFAULT
values
public static final CandlePrice[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(CandlePrice c : CandlePrice.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static CandlePrice valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
changeAttributeForSymbol
public java.lang.String changeAttributeForSymbol(java.lang.String symbol)
- Specified by:
changeAttributeForSymbol
in interface CandleSymbolAttribute<CandlePrice>
checkInAttribute
public void checkInAttribute(CandleSymbol candleSymbol)
- Specified by:
checkInAttribute
in interface CandleSymbolAttribute<CandlePrice>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<CandlePrice>
parse
public static CandlePrice parse(java.lang.String s)
getAttributeForSymbol
public static CandlePrice getAttributeForSymbol(java.lang.String symbol)
normalizeAttributeForSymbol
public static java.lang.String normalizeAttributeForSymbol(java.lang.String symbol)