public class ArrayIterator<T> extends Object implements ListIterator<T>
Constructor and Description |
---|
ArrayIterator(T[] data) |
ArrayIterator(T[] data,
int off) |
ArrayIterator(T[] data,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
void |
add(T e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ArrayIterator(T[] data)
public ArrayIterator(T[] data, int off)
public ArrayIterator(T[] data, int off, int len)
public boolean hasNext()
public T next()
public void remove()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<T>
public T previous()
previous
in interface ListIterator<T>
public int nextIndex()
nextIndex
in interface ListIterator<T>
public int previousIndex()
previousIndex
in interface ListIterator<T>
public void set(T e)
set
in interface ListIterator<T>
public void add(T e)
add
in interface ListIterator<T>
Copyright © 2024 levigo holding gmbh. All rights reserved.