Class PredicatedList.PredicatedListIterator
java.lang.Object
org.apache.commons.collections4.iterators.AbstractListIteratorDecorator<E>
org.apache.commons.collections4.list.PredicatedList.PredicatedListIterator
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
PredicatedList<E>
Inner class Iterator for the PredicatedList
-
Constructor Summary
ModifierConstructorDescriptionprotected
PredicatedListIterator
(ListIterator<E> iterator) Create a new predicated list iterator. -
Method Summary
Methods inherited from class org.apache.commons.collections4.iterators.AbstractListIteratorDecorator
getListIterator, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
PredicatedListIterator
Create a new predicated list iterator.- Parameters:
iterator
- the list iterator to decorate
-
-
Method Details
-
add
Description copied from class:AbstractListIteratorDecorator
- Specified by:
add
in interfaceListIterator<E>
- Overrides:
add
in classAbstractListIteratorDecorator<E>
-
set
Description copied from class:AbstractListIteratorDecorator
- Specified by:
set
in interfaceListIterator<E>
- Overrides:
set
in classAbstractListIteratorDecorator<E>
-