@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, wait
getChannels, getChannelValue, getId, getScore, getUnboxedChannelValue
@Nonnull public Collection<DoubleSymbolValue> getUnboxedChannels()
ScoredId
Get the unboxed channels associated with a scored ID.
getUnboxedChannels
in interface ScoredId
public Set<TypedSymbol<?>> getChannelSymbols()
ScoredId
Determine the typed symbols associated with all side channels of a ScoredId
.
getChannelSymbols
in interface ScoredId
TypedSymbol
objects, each of which maps to a value in one of the ScoredId
’s side channels.public Set<Symbol> getUnboxedChannelSymbols()
ScoredId
Determine the symbols associated with all unboxed double side channels of a ScoredId
.
getUnboxedChannelSymbols
in interface ScoredId
Symbol
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 ScoredId
sym
- 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 ScoredId
sym
-