Package org.harctoolbox.irp
Class Decoder.Decode
java.lang.Object
org.harctoolbox.irp.Decoder.Decode
- All Implemented Interfaces:
Comparable<Decoder.Decode>
,ElementaryDecode
,HasPreferOvers
- Enclosing class:
- Decoder
public static final class Decoder.Decode
extends Object
implements ElementaryDecode, Comparable<Decoder.Decode>
-
Constructor Summary
ConstructorDescriptionDecode
(NamedProtocol namedProtocol, Map<String, Long> map, int begPos, int endPos, int numberOfRepetitions) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(Decoder.Decode other) boolean
getMap()
getName()
Returns the prefer-overs.int
hashCode()
boolean
same
(String protocolName, NameEngine nameEngine) toString()
-
Constructor Details
-
Decode
public Decode(NamedProtocol namedProtocol, Map<String, Long> map, int begPos, int endPos, int numberOfRepetitions)
-
-
Method Details
-
same
-
toString
-
toString
- Specified by:
toString
in interfaceHasPreferOvers
-
getPreferOverNames
Description copied from interface:HasPreferOvers
Returns the prefer-overs.- Specified by:
getPreferOverNames
in interfaceHasPreferOvers
- Returns:
- Set<String> of the names of protocols that are prefer-overs.
-
getNamedProtocol
- Returns:
- the namedProtocol
-
getName
- Specified by:
getName
in interfaceHasPreferOvers
-
getMap
- Specified by:
getMap
in interfaceElementaryDecode
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Decoder.Decode>
-
equals
-
hashCode
public int hashCode() -
getDecode
- Specified by:
getDecode
in interfaceElementaryDecode
-