Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Interface
java.util.Iterator

Packages that use Iterator
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Iterator in java.util
 

Subinterfaces of Iterator in java.util
 interface ListIterator
          An iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator's current position in the list.
 

Methods in java.util that return Iterator
 Iterator TreeSet.iterator()
          Returns an iterator over the elements in this set.
 Iterator Set.iterator()
          Returns an iterator over the elements in this set.
 Iterator Collection.iterator()
          Returns an iterator over the elements in this collection.
abstract  Iterator AbstractCollection.iterator()
          Returns an iterator over the elements contained in this collection.
 Iterator AbstractList.iterator()
          Returns an iterator over the elements in this list in proper sequence.
 Iterator AbstractSequentialList.iterator()
          Returns an iterator over the elements in this list (in proper sequence).
 Iterator HashSet.iterator()
          Returns an iterator over the elements in this set.
 Iterator List.iterator()
          Returns an iterator over the elements in this list in proper sequence.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.