Package org.apache.jena.atlas.iterator
Class IteratorNoRemove<T>
java.lang.Object
org.apache.jena.atlas.iterator.IteratorWrapper<T>
org.apache.jena.atlas.iterator.IteratorNoRemove<T>
- All Implemented Interfaces:
Iterator<T>,IteratorCloseable<T>,Closeable
Deprecated.
Wrap an iterator except for remove which throws UnsupportedOperationException.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.atlas.iterator.IteratorWrapper
hasNext, next, removeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
IteratorNoRemove
Deprecated.
-
-
Method Details
-
close
public void close()Deprecated.- Specified by:
closein interfaceCloseable- Overrides:
closein classIteratorWrapper<T>
-
Iter.noRemove(Iterator).