java.beans.beancontext
Class BeanContextSupport.BCSIterator

java.lang.Object
  extended by java.beans.beancontext.BeanContextSupport.BCSIterator
All Implemented Interfaces:
Iterator
Enclosing class:
BeanContextSupport

protected static final class BeanContextSupport.BCSIterator
extends Object
implements Iterator


Method Summary
 boolean hasNext()
          Tests whether there are elements remaining in the collection.
 Object next()
          Obtain the next element in the collection.
 void remove()
          Remove from the underlying collection the last element returned by next (optional operation).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Description copied from interface: Iterator
Tests whether there are elements remaining in the collection. In other words, calling next() will not throw an exception.

Specified by:
hasNext in interface Iterator
Returns:
true if there is at least one more element in the collection

next

public Object next()
Description copied from interface: Iterator
Obtain the next element in the collection.

Specified by:
next in interface Iterator
Returns:
the next element in the collection

remove

public void remove()
Description copied from interface: Iterator
Remove from the underlying collection the last element returned by next (optional operation). This method can be called only once after each call to next(). It does not affect what will be returned by subsequent calls to next.

Specified by:
remove in interface Iterator