|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.beans.beancontext.BeanContextSupport.BCSIterator
protected final subclass that encapsulates an iterator but implements a noop remove() method.
Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the interation. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean hasNext()
Iterator
hasNext
in interface Iterator
java.util.Iterator
public Object next()
Iterator
next
in interface Iterator
java.util.Iterator
NoSuchElementException
- iteration has no more elements.public void remove()
Iterator
remove
in interface Iterator
java.util.Iterator
UnsupportedOperationException
- if the remove
operation is not supported by this Iterator.IllegalStateException
- if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.