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
ConstructorsConstructorDescriptionDecode(NamedProtocol namedProtocol, Map<String, Long> map, int begPos, int endPos, int numberOfRepetitions) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(Decoder.Decode other) booleangetMap()getName()Returns the prefer-overs.inthashCode()booleansame(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:
toStringin interfaceHasPreferOvers
-
getPreferOverNames
Description copied from interface:HasPreferOversReturns the prefer-overs.- Specified by:
getPreferOverNamesin interfaceHasPreferOvers- Returns:
- Set<String> of the names of protocols that are prefer-overs.
-
getNamedProtocol
- Returns:
- the namedProtocol
-
getName
- Specified by:
getNamein interfaceHasPreferOvers
-
getMap
- Specified by:
getMapin interfaceElementaryDecode
-
compareTo
- Specified by:
compareToin interfaceComparable<Decoder.Decode>
-
equals
-
hashCode
public int hashCode() -
getDecode
- Specified by:
getDecodein interfaceElementaryDecode
-