net.sf.ehcache.util
Class MergedEnumeration<E>
java.lang.Object
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:
hasMoreElements
in interface Enumeration<E>
nextElement
public E nextElement()
- Specified by:
nextElement
in interface Enumeration<E>
Copyright 2001-2014, Terracotta, Inc.