Iterable
Anything a for loop can walk over, such as a List.
InterfaceJavaJava 11 docs
public interface Iterable<T>Implemented by Loadout
Members
Methods
- Iterator<T>iterator()
Walks over the elements. A
forloop does this for you.
iterator()
public Iterator<T> iterator()Walks over the elements. A for loop does this for you.
Returns
An Iterator.
Also allowed
These work as in the Java 11 docs.
equals, forEach, hashCode, toString