public class SubSequenceMotifMatcher extends Object implements MotifMatcher
| Constructor and Description |
|---|
SubSequenceMotifMatcher(String motif) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(char c)
Accept a new character.
|
boolean |
matched()
Determine if the motif was matched up to the last character accepted.
|
void |
newSequence()
Indicate the start of a new sequence.
|
public SubSequenceMotifMatcher(String motif)
public void accept(char c)
MotifMatcheraccept in interface MotifMatcherc - character to accept.public void newSequence()
MotifMatchernewSequence in interface MotifMatcherpublic boolean matched()
MotifMatchermatched in interface MotifMatcherCopyright © 2018 Campagne Laboratory. All rights reserved.