Package de.regnis.q.sequence.media
Class QSequenceIntMedia
- java.lang.Object
-
- de.regnis.q.sequence.media.QSequenceIntMedia
-
- All Implemented Interfaces:
QSequenceMedia,QSequenceMediaComparer
- Direct Known Subclasses:
QSequenceCachingMedia
public abstract class QSequenceIntMedia extends java.lang.Object implements QSequenceMedia, QSequenceMediaComparer
-
-
Field Summary
Fields Modifier and Type Field Description private QSequenceCancellercanceller
-
Constructor Summary
Constructors Modifier Constructor Description protectedQSequenceIntMedia(QSequenceCanceller canceller)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckCancelled()booleanequalsLeft(int left1, int left2)booleanequalsRight(int right1, int right2)abstract int[]getLeftSymbols()abstract int[]getRightSymbols()abstract intgetSymbolCount()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.regnis.q.sequence.core.QSequenceMedia
equals, getLeftLength, getRightLength
-
-
-
-
Field Detail
-
canceller
private final QSequenceCanceller canceller
-
-
Constructor Detail
-
QSequenceIntMedia
protected QSequenceIntMedia(QSequenceCanceller canceller)
-
-
Method Detail
-
getSymbolCount
public abstract int getSymbolCount()
-
getLeftSymbols
public abstract int[] getLeftSymbols()
-
getRightSymbols
public abstract int[] getRightSymbols()
-
equalsLeft
public final boolean equalsLeft(int left1, int left2) throws QSequenceCancelledException- Specified by:
equalsLeftin interfaceQSequenceMediaComparer- Throws:
QSequenceCancelledException
-
equalsRight
public final boolean equalsRight(int right1, int right2) throws QSequenceCancelledException- Specified by:
equalsRightin interfaceQSequenceMediaComparer- Throws:
QSequenceCancelledException
-
checkCancelled
public final void checkCancelled() throws QSequenceCancelledException- Throws:
QSequenceCancelledException
-
-