com.dxfeed.event.candle
Enum CandleSession
java.lang.Object
java.lang.Enum<CandleSession>
com.dxfeed.event.candle.CandleSession
- All Implemented Interfaces:
- CandleSymbolAttribute<CandleSession>, java.io.Serializable, java.lang.Comparable<CandleSession>
public enum CandleSession
- extends java.lang.Enum<CandleSession>
- implements CandleSymbolAttribute<CandleSession>
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 |
ANY
public static final CandleSession ANY
REGULAR
public static final CandleSession REGULAR
DEFAULT
public static final CandleSession DEFAULT
values
public static final CandleSession[] 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(CandleSession c : CandleSession.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static CandleSession 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
getSessionFilter
public SessionFilter getSessionFilter()
changeAttributeForSymbol
public java.lang.String changeAttributeForSymbol(java.lang.String symbol)
- Specified by:
changeAttributeForSymbol
in interface CandleSymbolAttribute<CandleSession>
checkInAttribute
public void checkInAttribute(CandleSymbol candleSymbol)
- Specified by:
checkInAttribute
in interface CandleSymbolAttribute<CandleSession>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<CandleSession>
parse
public static CandleSession parse(java.lang.String s)
getAttributeForSymbol
public static CandleSession getAttributeForSymbol(java.lang.String symbol)
normalizeAttributeForSymbol
public static java.lang.String normalizeAttributeForSymbol(java.lang.String symbol)