jut.lang
Class Lists

java.lang.Object
  extended by jut.lang.Lists

public final class Lists
extends Object

static utility methods for lists, enumeration, iterations and so on.

Author:
Georg Dietrich

Method Summary
static
<E> Enumeration<E>
enumeration(Iterable<E> iterable)
          for a given Iterable, create an Enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.