Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.util
Class Arrays.Iterator

    java.lang.Object
      org.bouncycastle.util.Arrays.Iterator

All Implemented Interfaces:
  java.util.Iterator

Enclosing class:
  Arrays

public static class Arrays.Iterator
extends java.lang.Object
implements java.util.Iterator

Iterator backed by a specific array.

Constructor Summary
`Arrays.Iterator(java.lang.Object[] dataArray)` Base constructor.

Method Summary
`boolean` | `hasNext()`
`java.lang.Object` | `next()`
`void` | `remove()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Arrays.Iterator

    public Arrays.Iterator(java.lang.Object[] dataArray)

  Base constructor.

  Note: the array is not cloned, changes to it will affect the values returned by next().

Parameters:
  `dataArray` - array backing the iterator.

Method Detail

### hasNext

    public boolean hasNext()

  Specified by:
    `hasNext` in interface `java.util.Iterator`

### next

    public java.lang.Object next()

  Specified by:
    `next` in interface `java.util.Iterator`

### remove

    public void remove()

  Specified by:
    `remove` in interface `java.util.Iterator`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD