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(forRemoval=true) public class IteratorNoRemove<T> extends IteratorWrapper<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Wrap an iterator except for remove which throws UnsupportedOperationException.
  • Constructor Details

    • IteratorNoRemove

      public IteratorNoRemove(int x, Iterator<T> iterator)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface Closeable
      Overrides:
      close in class IteratorWrapper<T>