Example usage for Java java.util Iterator fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
void | forEachRemaining(Consumer super E> action) Performs the given action for each remaining element until all elements have been processed or the action throws an exception. |
Class> | getClass() Returns the runtime class of this Object . |
boolean | hasNext() Returns true if the iteration has more elements. |
E | next() Returns the next element in the iteration. |
void | remove() Removes from the underlying collection the last element returned by this iterator (optional operation). |
String | toString() Returns a string representation of the object. |
void | wait() Causes the current thread to wait until it is awakened, typically by being notified or interrupted. |