Enum Kagi.Trend
- java.lang.Object
-
- java.lang.Enum<Kagi.Trend>
-
- tech.nmfin.meanreversion.hvolatility.Kagi.Trend
-
- All Implemented Interfaces:
Serializable
,Comparable<Kagi.Trend>
- Enclosing class:
- Kagi<T extends Comparable<? super T>>
public static enum Kagi.Trend extends Enum<Kagi.Trend>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Kagi.Trend
valueOf(String name)
Returns the enum constant of this type with the specified name.static Kagi.Trend[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP
public static final Kagi.Trend UP
-
DOWN
public static final Kagi.Trend DOWN
-
NA
public static final Kagi.Trend NA
-
-
Method Detail
-
values
public static Kagi.Trend[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Kagi.Trend c : Kagi.Trend.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Kagi.Trend valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-