Enum SymbolType
- java.lang.Object
-
- java.lang.Enum<SymbolType>
-
- pl.zankowski.iextrading4j.api.refdata.SymbolType
-
- All Implemented Interfaces:
Serializable
,Comparable<SymbolType>
public enum SymbolType extends Enum<SymbolType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADR
BO
CLOSED_END_FUND
CLOSED_ENDED_FUND
COMMON_STOCK
ETF
LIMITED_PARTNERSHIP
NOT_AVAILABLE
OPEN_ENDED_FUND
PREFERRED_STOCK
REIT
SECONDARY_ISSUE
SU
UNKNOWN
WARRANT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SymbolType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SymbolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADR
public static final SymbolType ADR
-
REIT
public static final SymbolType REIT
-
CLOSED_END_FUND
public static final SymbolType CLOSED_END_FUND
-
SECONDARY_ISSUE
public static final SymbolType SECONDARY_ISSUE
-
LIMITED_PARTNERSHIP
public static final SymbolType LIMITED_PARTNERSHIP
-
COMMON_STOCK
public static final SymbolType COMMON_STOCK
-
ETF
public static final SymbolType ETF
-
PREFERRED_STOCK
public static final SymbolType PREFERRED_STOCK
-
BO
public static final SymbolType BO
-
SU
public static final SymbolType SU
-
WARRANT
public static final SymbolType WARRANT
-
OPEN_ENDED_FUND
public static final SymbolType OPEN_ENDED_FUND
-
CLOSED_ENDED_FUND
public static final SymbolType CLOSED_ENDED_FUND
-
NOT_AVAILABLE
public static final SymbolType NOT_AVAILABLE
-
UNKNOWN
public static final SymbolType UNKNOWN
-
-
Method Detail
-
values
public static SymbolType[] 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 (SymbolType c : SymbolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymbolType 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
-
-