Package: org.codehaus.groovy.util

## [Java] Class IteratorBufferedIterator<T>

- org.codehaus.groovy.util.IteratorBufferedIterator

- All Implemented Interfaces and Traits:
    BufferedIterator

      public class IteratorBufferedIterator
      extends Object

  An implementation for BufferedIterator wraps Iterator.

  Since:
    2.5.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `IteratorBufferedIterator (Iterator<T> iter)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `hasNext()`
    `` | `T` | `head()` Return the next element to be returned by next() without consuming it.
    `` | `T` | `next()`
    `` | `void` | `remove()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public IteratorBufferedIterator(Iterator<T> iter)

  - ### Method Detail

    - #### public boolean hasNext()

    - #### public T head()

      Return the next element to be returned by next() without consuming it.

    - #### public T next()

    - #### public void remove()