Package io.keikai.model.impl.chart
Enum Class StockChartDataImpl.StockType
java.lang.Object
java.lang.Enum<StockChartDataImpl.StockType>
io.keikai.model.impl.chart.StockChartDataImpl.StockType
- All Implemented Interfaces:
Serializable,Comparable<StockChartDataImpl.StockType>,Constable
- Enclosing class:
- StockChartDataImpl
Stock chart sub-type.
- Since:
- 7.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHigh-Low-CloseOpen-High-Low-CloseVolume-High-Low-CloseVolume-Open-High-Low-Close -
Method Summary
Modifier and TypeMethodDescriptionstatic StockChartDataImpl.StockTypeReturns the enum constant of this class with the specified name.static StockChartDataImpl.StockType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HLC
High-Low-Close -
OHLC
Open-High-Low-Close -
VOLUME_HLC
Volume-High-Low-Close -
VOLUME_OHLC
Volume-Open-High-Low-Close
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-