Class EmptyIterator<S>

java.lang.Object
org.apache.tinkerpop.gremlin.util.iterator.EmptyIterator<S>
All Implemented Interfaces:
Serializable, Iterator<S>

public final class EmptyIterator<S> extends Object implements Iterator<S>, Serializable
Author:
Marko A. Rodriguez (http://markorodriguez.com)
See Also:
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<S>
    • next

      public S next()
      Specified by:
      next in interface Iterator<S>
    • instance

      public static <S> Iterator<S> instance()