org.apache.tinkerpop.gremlin.util.iterator

## 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:
    Serialized Form

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `static <S> Iterator<S>` | `instance()`
    `S` | `next()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining, remove`

- - ### Method Detail

    - #### 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()

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.