org.apache.wicket.util.collections
Class ReadOnlyIterator

java.lang.Object
  extended by org.apache.wicket.util.collections.ReadOnlyIterator
All Implemented Interfaces:
java.util.Iterator

public abstract class ReadOnlyIterator
extends java.lang.Object
implements java.util.Iterator

Base class for read-only iterators. Calls to remove() will result in an UnsupportedOperationException

Author:
Igor Vaynberg (ivaynberg)

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

Constructor Detail

ReadOnlyIterator

public ReadOnlyIterator()
Method Detail

remove

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


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.