Class CompositeEnumeration<T>
java.lang.Object
com.ibm.wsspi.kernel.service.utils.CompositeEnumeration<T>
- All Implemented Interfaces:
- Enumeration<T>
Simple class to wrap several enumerations and make them look like one, as
 opposed to iterating them all up front and putting them into a new list.
 
Only use this class if you need to work with Enumerations, e.g. because you are working with an old API.
- 
Constructor SummaryConstructorsConstructorDescriptionCompositeEnumeration(Enumeration<T> first) Create the enumeration wrapping a single enumeration.
- 
Method SummaryModifier and TypeMethodDescriptionadd(Enumeration<T> enumeration) Fluent method for chaining additions of subsequent enumerations.boolean
- 
Constructor Details- 
CompositeEnumerationCreate the enumeration wrapping a single enumeration.
- 
CompositeEnumerationpublic CompositeEnumeration()
 
- 
- 
Method Details- 
addFluent method for chaining additions of subsequent enumerations.
- 
hasMoreElementspublic boolean hasMoreElements()- Specified by:
- hasMoreElementsin interface- Enumeration<T>
 
- 
nextElement- Specified by:
- nextElementin interface- Enumeration<T>
 
 
-