Java java.lang Iterable fields, constructors, methods, implement or subclass

Example usage for Java java.lang Iterable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang Iterable.

The text is from its open source code.

Implementation

java.lang.Iterable has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidforEach(Consumer action)
Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
Iteratoriterator()
Returns an iterator over elements of type T .
Spliteratorspliterator()
Creates a Spliterator over the elements described by this Iterable .
StringtoString()
Returns a string representation of the object.