Package org.eclipse.sisu.space
Class BundleClassSpace.ChainedEnumeration<T>
java.lang.Object
org.eclipse.sisu.space.BundleClassSpace.ChainedEnumeration<T>
- All Implemented Interfaces:
Enumeration<T>
- Enclosing class:
- BundleClassSpace
private static final class BundleClassSpace.ChainedEnumeration<T>
extends Object
implements Enumeration<T>
Chains a series of
Enumeration
s together to look like a single Enumeration
.-
Field Details
-
enumerations
-
index
private int index
-
-
Constructor Details
-
ChainedEnumeration
ChainedEnumeration(Enumeration<T>... enumerations)
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
-