com.jeffpalm.util
Class IteratorThatAllowsModification

java.lang.Object
  extended by com.jeffpalm.util.IteratorThatAllowsModification
All Implemented Interfaces:
java.util.Iterator

public class IteratorThatAllowsModification
extends java.lang.Object
implements java.util.Iterator


Nested Class Summary
static interface IteratorThatAllowsModification.Factory
           
 
Method Summary
static IteratorThatAllowsModification.Factory getFactory()
           
 boolean hasNext()
           
static void main(java.lang.String[] args)
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

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

next

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

remove

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

getFactory

public static IteratorThatAllowsModification.Factory getFactory()

main

public static void main(java.lang.String[] args)