com.sun.enterprise.module.common_impl
Class CompositeEnumeration

java.lang.Object
  extended by com.sun.enterprise.module.common_impl.CompositeEnumeration
All Implemented Interfaces:
Enumeration<URL>

public class CompositeEnumeration
extends Object
implements Enumeration<URL>

We need a compound enumeration so that we can aggregate the results from various delegates.

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
CompositeEnumeration(List<Enumeration<URL>> enumerators)
           
 
Method Summary
 boolean hasMoreElements()
           
 URL nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeEnumeration

public CompositeEnumeration(List<Enumeration<URL>> enumerators)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<URL>

nextElement

public URL nextElement()
Specified by:
nextElement in interface Enumeration<URL>


Copyright © 2013 Oracle Corporation. All Rights Reserved.