[Java] Class ArrayIterator<T>
- org.codehaus.groovy.util.ArrayIterator
- All Implemented Interfaces and Traits:
- Iterator
public class ArrayIterator<T> extends Object implements Iterator
Constructor Summary
Constructor and description |
---|
ArrayIterator
(T[] array) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public boolean |
hasNext() | |
public T |
next() | |
public void |
remove() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ArrayIterator(T[] array)
Method Detail
public boolean hasNext()
@SuppressWarnings("unchecked") public T next()
public void remove()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/util/ArrayIterator.html