org.apache.tinkerpop.gremlin.hadoop.structure.io

## Class TextIterator

- java.lang.Object
- - org.apache.tinkerpop.gremlin.hadoop.structure.io.TextIterator

- All Implemented Interfaces:
    Iterator<String>

      public final class TextIterator
      extends Object
      implements Iterator<String>

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextIterator(Configuration configuration, Path path)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `String` | `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`

- - ### Constructor Detail

    - #### TextIterator

          public TextIterator(Configuration configuration,
                              Path path)
                       throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<String>`

    - #### next

          public String next()

      Specified by:
        `next` in interface `Iterator<String>`

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