Java java.util Iterator fields, constructors, methods, implement or subclass

Example usage for Java java.util Iterator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util Iterator.

The text is from its open source code.

Implementation

java.util.Iterator has the following implementations.
Click this link to see all its implementation.

Constructor

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
voidforEachRemaining(Consumer action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
ClassgetClass()
Returns the runtime class of this Object .
booleanhasNext()
Returns true if the iteration has more elements.
Enext()
Returns the next element in the iteration.
voidremove()
Removes from the underlying collection the last element returned by this iterator (optional operation).
StringtoString()
Returns a string representation of the object.
voidwait()
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.