public abstract class FilteredArrayIterator extends NullArrayIterator
_array, _arraylen, _lastindex, _nextindex
Constructor and Description |
---|
FilteredArrayIterator(java.lang.Object[] array) |
FilteredArrayIterator(java.lang.Object[] array,
int length) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(java.lang.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
public FilteredArrayIterator(java.lang.Object[] array)
public FilteredArrayIterator(java.lang.Object[] array, int length)
public abstract boolean accept(java.lang.Object o)
protected void advance()
advance
in class NullArrayIterator