T - The type of the iterated elements.public final class Reverse<T>
extends java.lang.Object
implements java.lang.Iterable<T>
Iterable decorator that iterates the values of another Iterable in reverse order.| Constructor and Description |
|---|
Reverse(java.lang.Iterable<T> delegate)
Creates an
Iterable that iterates the given Iterable in reverse. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator() |
public Reverse(java.lang.Iterable<T> delegate)
Iterable that iterates the given Iterable in reverse.delegate - Another Iterable.