thinkmap.client.util
Class UtilEnumeration

java.lang.Object
  extended by thinkmap.client.util.UtilEnumeration
All Implemented Interfaces:
Enumeration

public class UtilEnumeration
extends Object
implements Enumeration

Useful utility class and methods for using java.util.Enumeration.

Version:
$Revision: 1.1 $
See Also:
Enumeration

Field Summary
static Enumeration NULL_ENUMERATION
           
 
Constructor Summary
UtilEnumeration(Enumeration a, Enumeration b)
          Creates a new UtilEnumeration object that enumerates two Enumerations in sequence.
UtilEnumeration(Object oOneElement)
          Creates a new UtilEnumeration object with a single element.
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_ENUMERATION

public static Enumeration NULL_ENUMERATION
Constructor Detail

UtilEnumeration

public UtilEnumeration(Enumeration a,
                       Enumeration b)
Creates a new UtilEnumeration object that enumerates two Enumerations in sequence.

Parameters:
a - the first enumeration
b - the second enumeration

UtilEnumeration

public UtilEnumeration(Object oOneElement)
Creates a new UtilEnumeration object with a single element.

Parameters:
oOneElement - the single element in this Enumeration
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.