Babylon 10
The world's best online dictionary

Download it's free

Definition of Iterator

Babylon English Dictionary

(Computers) object or routine for accessing items from an array
Iterator Definition from Language, Idioms & Slang Dictionaries & Glossaries
hEnglish - advanced version

iterator
an object or routine for accessing items from a list, array or stream one at a time.

Iterator Definition from Computer & Internet Dictionaries & Glossaries
JDK Doc(JAVA)
- interface java.util..Iterator 
public interface Iterator
public boolean hasNext ()
An iterator over a collection. Iterator takes the place of Enumeration in the Java collections framework. Iterators differ from enumerations in two ways:
- Method in class java.awt.dnd.DragGestureEvent 
public Iterator iterator ()
This method returns an Iterator for the events comprising the gesture. Returns: an Iterator for the events comprising the gesture
- Method in class java.util.HashSet 
public Iterator iterator ()
Returns an iterator over the elements in this set. The elements are returned in no particular order.Specified by:  iterator in interface Set Overrides: iterator in class AbstractCollection Returns: an Iterator over the elements in this set.See Also:  ConcurrentModificationException
- Method in interface java.util.List 
public Iterator iterator ()
Returns an iterator over the elements in this list in proper sequence.Specified by:  iterator in interface Collection Returns: an iterator over the elements in this list in proper sequence.
- Method in class java.beans.beancontext.BeanContextSupport 
public Iterator iterator ()
Description copied from interface: Collection  Returns an iterator over the elements in this collection. There are no guarantees concerning the order in which the elements are returned (unless this collection is an instance of some class that provides a guarantee).Returns: the iterator
- Method in class java.beans.beancontext.BeanContextMembershipEvent 
public Iterator iterator ()
Returns: the array of children effected
- Method in interface java.util.Set 
public Iterator iterator ()
Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).Specified by:  iterator in interface Collection Returns: an iterator over the elements in this set.
- Method in class java.util.AbstractCollection 
public abstract Iterator iterator ()
Returns an iterator over the elements contained in this collection.Specified by:  iterator in interface Collection Returns: an iterator over the elements contained in this collection.
- Method in class java.util.AbstractList 
public Iterator iterator ()
Returns an iterator over the elements in this list in proper sequence. This implementation returns a straightforward implementation of the iterator interface, relying on the backing list's , , and methods. Note that the iterator returned by this method will throw an in response to its method unless the list's method is overridden. This implementation can be made to throw runtime exceptions in the face of concurrent modification, as described in the specification for the (protected) field.Specified by:  iterator in interface List Overrides: iterator in class AbstractCollection Returns: an iterator over the elements in this list in proper sequence.See Also:  modCount
- Method in class java.util.AbstractSequentialList 
public Iterator iterator ()
Returns an iterator over the elements in this list (in proper sequence). This implementation merely returns a list iterator over the list.Overrides: iterator in class AbstractList Returns: an iterator over the elements in this list (in proper sequence).
- Method in class java.util.TreeSet 
public Iterator iterator ()
Returns an iterator over the elements in this set. The elements are returned in ascending order.Overrides: iterator in class AbstractCollection Returns: an iterator over the elements in this set.
- Method in interface java.util.Collection 
public Iterator iterator ()
Returns an iterator over the elements in this collection. There are no guarantees concerning the order in which the elements are returned (unless this collection is an instance of some class that provides a guarantee).
Iterator Definition from Encyclopedia Dictionaries & Glossaries
Wikipedia English - The Free Encyclopedia
In object-oriented computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface. Though the interface and semantics of a given iterator are fixed, iterators are often implemented in terms of the structures underlying a container implementation and are often tightly coupled to the container to enable the operational semantics of the iterator. Note that an iterator performs traversal and also gives access to data elements in a container, but does not perform iteration (i.e., not without some significant liberty taken with that concept or with trivial use of the terminology). An iterator is behaviorally similar to a database cursor. Iterators date to the CLU programming language in 1974.

See more at Wikipedia.org...
© This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License and under the Creative Commons Attribution-ShareAlike License