jut.lang
Class Lists
java.lang.Object
jut.lang.Lists
public final class Lists
- extends Object
static utility methods for lists, enumeration, iterations and so on.
- Author:
- Georg Dietrich
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enumeration
public static <E> Enumeration<E> enumeration(Iterable<E> iterable)
- for a given
Iterable, create an Enumeration.
- Type Parameters:
E - - the object type of the source Iterable and the Enumeration to
create.- Parameters:
iterable - - the Iterable to create an Enumeration for.
- Returns:
- an
Enumeration for the Iterable provided.