com.phoenixst.collections
Class UnmodifiableIterator
java.lang.Object
com.phoenixst.collections.UnmodifiableIterator
- All Implemented Interfaces:
- Iterator
public class UnmodifiableIterator
- extends Object
- implements Iterator
An unmodifiable view of an Iterator
.
This is mostly equivalent to the class of the same name in
Jakarta Commons-Collections 3.0. No equivalent exists in version
2.1.
- Since:
- 1.0
- Version:
- $Revision: 1.7 $
- Author:
- Ray A. Conner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnmodifiableIterator
public UnmodifiableIterator(Iterator delegate)
- Creates a new
UnmodifiableIterator
.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.