public class ArrayIterator<E> extends Object implements Iterator<E>, Iterable<E>, Serializable
Constructor and Description |
---|
ArrayIterator(E[] array) |
ArrayIterator(E[] array,
int startIndex) |
ArrayIterator(E[] array,
int startIndex,
int endIndex) |
Modifier and Type | Method and Description |
---|---|
E[] |
getArray() |
boolean |
hasNext() |
Iterator<E> |
iterator() |
E |
next() |
void |
remove() |
void |
reset()
重置索引
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
Copyright © 2024. All rights reserved.