Collections.Iterator

Description

Utility Functions for Java.util.Iterator

Functions

NameSignature and Synopsis
hasNextboolean hasNext (Object iterator)
Returns true, if the iteration has more elements.
nextObject next (Object iterator)
Returns the next element in the iteration
removevoid remove (Object iterator)
Removes from the underlying collection the last element returned by the iterator.