com.sun.enterprise.module.common_impl
Class CompositeEnumeration
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeEnumeration
public CompositeEnumeration(List<Enumeration<URL>> enumerators)
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.