JTools

org.jtools.util
Class Enumerations

java.lang.Object
  extended by org.jtools.util.Enumerations

public class Enumerations
extends Object

A set of helper methods related to collection manipulation.


Nested Class Summary
static class Enumerations.CompoundEnumeration<E>
           
static class Enumerations.EmptyEnumeration<E>
           
 
Constructor Summary
Enumerations()
           
 
Method Summary
static
<E> Enumeration<E>
append(Enumeration<E>... e)
          Append one enumeration to another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Enumerations

public Enumerations()
Method Detail

append

public static <E> Enumeration<E> append(Enumeration<E>... e)
Append one enumeration to another. Elements are evaluated lazily.

Parameters:
e1 - the first enumeration
e2 - the subsequent enumeration
Returns:
an enumeration representing e1 followed by e2

JTools

© 2000-2006, JTools.org.