com.wcohen.ss.expt
Class MatchData.MatchIterator

java.lang.Object
  extended by com.wcohen.ss.expt.MatchData.MatchIterator
All Implemented Interfaces:
StringWrapperIterator, java.util.Iterator
Enclosing class:
MatchData

public static class MatchData.MatchIterator
extends java.lang.Object
implements StringWrapperIterator

Iterates over all stored StringWrappers


Constructor Summary
MatchData.MatchIterator(MatchData data)
           
 
Method Summary
 java.lang.String getSource()
          Return the source of the last StringWrapper.
 boolean hasNext()
           
 java.lang.Object next()
          Returns the next StringWrapper as an object.
 StringWrapper nextStringWrapper()
          Return the next StringWrapper.
 void remove()
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchData.MatchIterator

public MatchData.MatchIterator(MatchData data)
Method Detail

remove

public void remove()
Not implemented.

Specified by:
remove in interface java.util.Iterator

getSource

public java.lang.String getSource()
Return the source of the last StringWrapper.


nextStringWrapper

public StringWrapper nextStringWrapper()
Return the next StringWrapper.

Specified by:
nextStringWrapper in interface StringWrapperIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface StringWrapperIterator
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Returns the next StringWrapper as an object.

Specified by:
next in interface StringWrapperIterator
Specified by:
next in interface java.util.Iterator