Class ReplicatedContext.MultiEnumeration<T>
java.lang.Object
org.apache.catalina.ha.context.ReplicatedContext.MultiEnumeration<T>
- Type Parameters:
T- the type of elements
- All Implemented Interfaces:
Enumeration<T>
- Enclosing class:
ReplicatedContext
protected static class ReplicatedContext.MultiEnumeration<T>
extends Object
implements Enumeration<T>
Enumeration that combines multiple enumerations into one.
-
Constructor Details
-
MultiEnumeration
Create a new instance.- Parameters:
enumerations- the enumerations to combine
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<T>
-