org.apache.olingo.client.api.communication.request.batch

## Interface ODataBatchLineIterator

- All Superinterfaces:
    Iterator<String>

      public interface ODataBatchLineIterator
      extends Iterator<String>

  Batch line iterator class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCurrent()` Gets last cached line (the current one).
    `boolean` | `hasNext()` Checks if batch has next line.
    `String` | `next()` Gets next line.
    `String` | `nextLine()` Gets next line.

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

      `forEachRemaining, remove`

- - ### Method Detail

    - #### hasNext

          boolean hasNext()

      Checks if batch has next line.
      Specified by:
        `hasNext` in interface `Iterator<String>`
      Returns:
        'TRUE' if has next line; 'FALSE' otherwise.

    - #### next

          String next()

      Gets next line.
      Specified by:
        `next` in interface `Iterator<String>`
      Returns:
        next line.

    - #### nextLine

          String nextLine()

      Gets next line.
      Returns:
        next line.

    - #### getCurrent

          String getCurrent()

      Gets last cached line (the current one).
      Returns:
        last cached line; null if `next()` method never called

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.