Package org.bouncycastle.util
Class Arrays.Iterator<T>
- java.lang.Object
-
- org.bouncycastle.util.Arrays.Iterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Enclosing class:
- Arrays
public static class Arrays.Iterator<T> extends java.lang.Object implements java.util.Iterator<T>
Iterator backed by a specific array.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
-
-
-
Constructor Detail
-
Iterator
public Iterator(T[] 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.
-
-