com.dxfeed.event.candle
Enum CandlePrice

java.lang.Object
  extended by java.lang.Enum<CandlePrice>
      extended by 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>


Enum Constant Summary
ASK
           
BID
           
LAST
           
MARK
           
 
Field Summary
static CandlePrice DEFAULT
           
 
Method Summary
 java.lang.String changeAttributeForSymbol(java.lang.String symbol)
           
 void checkInAttribute(CandleSymbol candleSymbol)
           
static CandlePrice getAttributeForSymbol(java.lang.String symbol)
           
static java.lang.String normalizeAttributeForSymbol(java.lang.String symbol)
           
static CandlePrice parse(java.lang.String s)
           
 java.lang.String toString()
           
static CandlePrice valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CandlePrice[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

LAST

public static final CandlePrice LAST

BID

public static final CandlePrice BID

ASK

public static final CandlePrice ASK

MARK

public static final CandlePrice MARK
Field Detail

DEFAULT

public static final CandlePrice DEFAULT
Method Detail

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)