Package: org.codehaus.groovy.util

## [Java] Class ByteArrayIterator

- org.codehaus.groovy.util.ByteArrayIterator

- All Implemented Interfaces and Traits:
    Iterator

      public class ByteArrayIterator
      extends Object
      implements Iterator

  Allow a byte array to be used where an Iterator is expected.

  Since:
    3.0.8

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ByteArrayIterator(byte[] array)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `hasNext()`
    `` | `public Byte` | `next()`
    `` | `public 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 ByteArrayIterator(byte[] array)

  - ### Method Detail

    - #### @Override
      public boolean hasNext()

    - #### @Override
      public Byte next()

    - #### @Override
      public void remove()