Interface GenericSymbolizedEnum<S>
- Type Parameters:
S- symbolized enum
- All Superinterfaces:
GenericEnum<S>
- All Known Implementing Classes:
AccountTradingPlatform, AccountType, Broker, Currency, MarketTimeInterval
Enum that contains a symbol used to uniquely identify it.
- Version:
- 1.0.1
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends GenericEnum<S> & GenericSymbolizedEnum<S>>
List<PairEntry> getAllAsPairEntry(Collection<S> values) static <S extends GenericEnum<S> & GenericSymbolizedEnum<S>>
List<PairEntry> getAllAsPairEntry(S[] values) static <S extends GenericEnum<S> & GenericSymbolizedEnum<S>>
PairEntrygetAsPairEntry(S value) Obtains the unique symbol for this enum.Methods inherited from interface GenericEnum
getCode, getEnum, getLabel
-
Method Details
-
getSymbol
-
getAsPairEntry
- Type Parameters:
S-Schild ofGenericSymbolizedEnum- Parameters:
value-S- Returns:
PairEntry
-
getAllAsPairEntry
static <S extends GenericEnum<S> & GenericSymbolizedEnum<S>> List<PairEntry> getAllAsPairEntry(Collection<S> values) - Type Parameters:
S-Schild ofGenericSymbolizedEnum- Parameters:
values-CollectionofS- Returns:
ListofPairEntry
-
getAllAsPairEntry
static <S extends GenericEnum<S> & GenericSymbolizedEnum<S>> List<PairEntry> getAllAsPairEntry(S[] values) - Type Parameters:
S-Schild ofGenericSymbolizedEnum- Parameters:
values- array ofS- Returns:
ListofPairEntry
-