@Deprecated public abstract class AbstractScoredId extends Object implements ScoredId
A base class for ScoredId implementations providing equals and hashCode methods.
| Constructor and Description |
|---|
AbstractScoredId()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
|
Set<TypedSymbol<?>> |
getChannelSymbols()
Deprecated.
Determine the typed symbols associated with all side channels of a
ScoredId. |
Collection<DoubleSymbolValue> |
getUnboxedChannels()
Deprecated.
Get the unboxed channels associated with a scored ID.
|
Set<Symbol> |
getUnboxedChannelSymbols()
Deprecated.
Determine the symbols associated with all unboxed double side channels of a
ScoredId. |
boolean |
hasChannel(TypedSymbol<?> sym)
Deprecated.
Determine if a
ScoredId has a specific typed channel. |
int |
hashCode()
Deprecated.
|
boolean |
hasUnboxedChannel(Symbol sym)
Deprecated.
Determine if a
ScoredId has a specific channel. |
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChannels, getChannelValue, getId, getScore, getUnboxedChannelValue@Nonnull public Collection<DoubleSymbolValue> getUnboxedChannels()
ScoredIdGet the unboxed channels associated with a scored ID.
getUnboxedChannels in interface ScoredIdpublic Set<TypedSymbol<?>> getChannelSymbols()
ScoredIdDetermine the typed symbols associated with all side channels of a ScoredId.
getChannelSymbols in interface ScoredIdTypedSymbol objects, each of which maps to a value in one of the ScoredId’s side channels.public Set<Symbol> getUnboxedChannelSymbols()
ScoredIdDetermine the symbols associated with all unboxed double side channels of a ScoredId.
getUnboxedChannelSymbols in interface ScoredIdSymbol objects, each of which maps to a value in one of the ScoredId’s unboxed double side channels.public boolean hasChannel(TypedSymbol<?> sym)
Determine if a ScoredId has a specific typed channel.
This implementation scans the result of ScoredId.getChannels() for a matching channel.
hasChannel in interface ScoredIdsym - The typed side channel’s symbol.true if the ScoredId has a channel associated with this symbol, false otherwise.public boolean hasUnboxedChannel(Symbol sym)
Determine if a ScoredId has a specific channel.
hasChannel(TypedSymbol).hasUnboxedChannel in interface ScoredIdsym -