Class NullIterator<T>

java.lang.Object
org.apache.jena.atlas.iterator.NullIterator<T>
All Implemented Interfaces:
Iterator<T>

@Deprecated public class NullIterator<T> extends Object implements Iterator<T>
Deprecated.
Null Iterator - also guaranteed shareable and immutable
  • Method Details

    • create

      public static <X> NullIterator<X> create()
      Deprecated.
    • hasNext

      public boolean hasNext()
      Deprecated.
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Deprecated.
      Specified by:
      next in interface Iterator<T>
    • forEachRemaining

      public void forEachRemaining(Consumer<? super T> action)
      Deprecated.
      Specified by:
      forEachRemaining in interface Iterator<T>
    • remove

      public void remove()
      Deprecated.
      Specified by:
      remove in interface Iterator<T>