J2ME Foundation

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 and modify the list during iteration.
 

Methods in java.util that return Iterator
abstract  Iterator AbstractCollection.iterator()
          Returns an iterator over the elements contained in this collection.
 Iterator TreeSet.iterator()
          Returns an iterator over the elements in this set.
 Iterator AbstractList.iterator()
          Returns an iterator over the elements in this list in proper sequence.
 Iterator Collection.iterator()
          Returns an iterator over the elements in this collection.
 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 Set.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.
 


J2ME Foundation

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved. < /font >