public abstract class FilteredArrayIterator extends NullArrayIterator
Constructor and Description |
---|
FilteredArrayIterator(Object[] array) |
FilteredArrayIterator(Object[] array,
int length) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(Object o)
Test if the object is acceptable for return by the iterator.
|
protected void |
advance()
Advance the next index to the next non-null element.
|
getLastIndex, hasNext, next
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public FilteredArrayIterator(Object[] array)
public FilteredArrayIterator(Object[] array, int length)
public abstract boolean accept(Object o)
protected void advance()
advance
in class NullArrayIterator
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.