net.sf.ehcache.util
Class MergedEnumeration<E>
java.lang.Object
   net.sf.ehcache.util.MergedEnumeration<E>
net.sf.ehcache.util.MergedEnumeration<E>
- Type Parameters:
- E-
- All Implemented Interfaces: 
- Enumeration<E>
- public class MergedEnumeration<E> 
- extends Object- implements Enumeration<E>
An utility class to merge several enumerations into a single one
- Author:
- Anthony Dahanne
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MergedEnumeration
public MergedEnumeration(Enumeration<E>... enumerations)
- Merges all enumerations found as constructor arguments into a single one
 
- Parameters:
- enumerations-
 
hasMoreElements
public boolean hasMoreElements()
- 
- Specified by:
- hasMoreElementsin interface- Enumeration<E>
 
- 
 
nextElement
public E nextElement()
- 
- Specified by:
- nextElementin interface- Enumeration<E>
 
- 
 
Copyright 2001-2017, Terracotta, Inc.