org.apache.commons.collections.list

Class PredicatedList.PredicatedListIterator

Enclosing Class:
PredicatedList
Implemented Interfaces:
ListIterator

protected class PredicatedList.PredicatedListIterator
extends AbstractListIteratorDecorator

Inner class Iterator for the PredicatedList

Field Summary

Fields inherited from class org.apache.commons.collections.iterators.AbstractListIteratorDecorator

iterator

Constructor Summary

PredicatedListIterator(ListIterator iterator)
Constructor that decorates the specified iterator.

Method Summary

void
add(Object object)
void
set(Object object)

Methods inherited from class org.apache.commons.collections.iterators.AbstractListIteratorDecorator

add, getListIterator, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set

Constructor Details

PredicatedListIterator

protected PredicatedListIterator(ListIterator iterator)
Constructor that decorates the specified iterator.
Parameters:
iterator - the iterator to decorate, must not be null

Method Details

add

public void add(Object object)
Overrides:
add in interface AbstractListIteratorDecorator

set

public void set(Object object)
Overrides:
set in interface AbstractListIteratorDecorator

Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.