com.wcohen.ss
Class BasicStringWrapperIterator

java.lang.Object
  extended by com.wcohen.ss.BasicStringWrapperIterator
All Implemented Interfaces:
StringWrapperIterator, java.util.Iterator

public class BasicStringWrapperIterator
extends java.lang.Object
implements StringWrapperIterator

A simple StringWrapperIterator implementation.


Constructor Summary
BasicStringWrapperIterator(java.util.Iterator i)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 StringWrapper nextStringWrapper()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicStringWrapperIterator

public BasicStringWrapperIterator(java.util.Iterator i)
Method Detail

hasNext

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

next

public java.lang.Object next()
Specified by:
next in interface StringWrapperIterator
Specified by:
next in interface java.util.Iterator

nextStringWrapper

public StringWrapper nextStringWrapper()
Specified by:
nextStringWrapper in interface StringWrapperIterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator