org.expasy.jpl.commons.collection.symbol.seq
Class MotifMatcher.Iterator

java.lang.Object
  extended by org.expasy.jpl.commons.collection.ExtraIterable.AbstractExtraIterator<Integer>
      extended by org.expasy.jpl.commons.collection.IndexIterable.Iterator
          extended by org.expasy.jpl.commons.collection.symbol.seq.AbstractSequencePositioner.Iterator
              extended by org.expasy.jpl.commons.collection.symbol.seq.MotifMatcher.Iterator
All Implemented Interfaces:
Iterator<Integer>
Enclosing class:
MotifMatcher<T>

public class MotifMatcher.Iterator
extends AbstractSequencePositioner.Iterator

Inner iterator over pattern matching sequence positions.


Field Summary
protected  Matcher matcher
           
 
Fields inherited from class org.expasy.jpl.commons.collection.symbol.seq.AbstractSequencePositioner.Iterator
nextPosition
 
Constructor Summary
MotifMatcher.Iterator()
           
 
Method Summary
 boolean foundNextPosition()
          This function will have to set nextPosition to its value and will return true if a valid position is found otherwise false.
 
Methods inherited from class org.expasy.jpl.commons.collection.symbol.seq.AbstractSequencePositioner.Iterator
hasNext, next
 
Methods inherited from class org.expasy.jpl.commons.collection.ExtraIterable.AbstractExtraIterator
nextToList, nextToList, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matcher

protected Matcher matcher
Constructor Detail

MotifMatcher.Iterator

public MotifMatcher.Iterator()
Method Detail

foundNextPosition

public boolean foundNextPosition()
Description copied from class: AbstractSequencePositioner.Iterator
This function will have to set nextPosition to its value and will return true if a valid position is found otherwise false.

Specified by:
foundNextPosition in class AbstractSequencePositioner.Iterator


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.