| public interface java.util Iterator<E>
|
Java SE 6 |
This interface is a member of the Java Collections Framework.
| version | 1.27, 07/24/06 |
| since | 1.2 |
| See also | java.util.Collection, java.util.ListIterator, java.util.Enumeration |
| Methods | |||||
|---|---|---|---|---|---|
| public boolean | hasNext() Details
Returns true if the iteration has more elements. (In other
words, returns true if next would return an element
rather than throwing an exception.)
| ||||
| public Object | next() Details
Returns the next element in the iteration.
| ||||
| public void | remove() Details
Removes from the underlying collection the last element returned by the
iterator (optional operation). This method can be called only once per
call to next. The behavior of an iterator is unspecified if
the underlying collection is modified while the iteration is in
progress in any way other than by calling this method.
| ||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|