iaik.utils
Class ConcatEnumeration

java.lang.Object
  |
  +--iaik.utils.ConcatEnumeration
All Implemented Interfaces:
Enumeration

public class ConcatEnumeration
extends Object
implements Enumeration

This class implements an Enumeration that concatenates multiple Enumerations in order.

Version:
File Revision 7

Constructor Summary
ConcatEnumeration(Enumeration enum)
          Construct a new object from an Enumeration of the Enumerations to be enumerated.
ConcatEnumeration(Enumeration enum1, Enumeration enum2)
          Construct a new object from the two Enumeration to be enumerated.
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatEnumeration

public ConcatEnumeration(Enumeration enum)
Construct a new object from an Enumeration of the Enumerations to be enumerated.

ConcatEnumeration

public ConcatEnumeration(Enumeration enum1,
                         Enumeration enum2)
Construct a new object from the two Enumeration to be enumerated.
Method Detail

hasMoreElements

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

nextElement

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

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK