net.walend.digraph
Class AbstractHashUEDigraph.IteratorWrapper

java.lang.Object
  |
  +--net.walend.digraph.AbstractHashUEDigraph.IteratorWrapper
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
AbstractHashUEDigraph

protected class AbstractHashUEDigraph.IteratorWrapper
extends java.lang.Object
implements java.util.Iterator


Field Summary
private  java.util.Iterator wrapped
           
 
Constructor Summary
protected AbstractHashUEDigraph.IteratorWrapper(java.util.Iterator it)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrapped

private java.util.Iterator wrapped
Constructor Detail

AbstractHashUEDigraph.IteratorWrapper

protected AbstractHashUEDigraph.IteratorWrapper(java.util.Iterator it)
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
Throws:
java.lang.UnsupportedOperationException - because the digraph may be immutable.


Copyright (c) 2000, 2001, David Walend