ehcache

net.sf.ehcache.util
Class MergedEnumeration<E>

java.lang.Object
  extended by 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

Constructor Summary
MergedEnumeration(Enumeration<E>... enumerations)
          Merges all enumerations found as constructor arguments into a single one
 
Method Summary
 boolean hasMoreElements()
           
 E nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergedEnumeration

public MergedEnumeration(Enumeration<E>... enumerations)
Merges all enumerations found as constructor arguments into a single one

Parameters:
enumerations -
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<E>

nextElement

public E nextElement()
Specified by:
nextElement in interface Enumeration<E>

ehcache

Copyright 2001-2015, Terracotta, Inc.