org.apache.commons.events.observable
Class ObservableCollection.ObservableIterator

java.lang.Object
  extended by org.apache.commons.collections.iterators.AbstractIteratorDecorator
      extended by org.apache.commons.events.observable.ObservableCollection.ObservableIterator
All Implemented Interfaces:
Iterator
Enclosing class:
ObservableCollection

protected class ObservableCollection.ObservableIterator
extends org.apache.commons.collections.iterators.AbstractIteratorDecorator

Inner class Iterator for the ObservableCollection.


Field Summary
protected  Object last
           
protected  int lastIndex
           
 
Fields inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
iterator
 
Constructor Summary
protected ObservableCollection.ObservableIterator(Iterator iterator)
           
 
Method Summary
 Object next()
           
 void remove()
           
 
Methods inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
getIterator, hasNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastIndex

protected int lastIndex

last

protected Object last
Constructor Detail

ObservableCollection.ObservableIterator

protected ObservableCollection.ObservableIterator(Iterator iterator)
Method Detail

next

public Object next()
Specified by:
next in interface Iterator
Overrides:
next in class org.apache.commons.collections.iterators.AbstractIteratorDecorator

remove

public void remove()
Specified by:
remove in interface Iterator
Overrides:
remove in class org.apache.commons.collections.iterators.AbstractIteratorDecorator


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.