| Constructor and Description |
|---|
IterableUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
createReverseIterable(List<T> list)
Returns an
Iterable with an iterator iterating the given list
from the end to the start. |
public static <T> Iterable<T> createReverseIterable(List<T> list)
Iterable with an iterator iterating the given list
from the end to the start.
I.e. the iterator does the reverse of the List.iterator().
T - list - Iterable of the listCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.