Class CompoundEnumeration<E>

java.lang.Object
org.mule.extension.spring.internal.util.CompoundEnumeration<E>
Type Parameters:
E -
All Implemented Interfaces:
Enumeration<E>

public class CompoundEnumeration<E> extends Object implements Enumeration<E>
An enumeration of enumerations.
Since:
4.2.0
  • Constructor Details

    • CompoundEnumeration

      public CompoundEnumeration(Enumeration<E>[] enums)
  • Method Details

    • hasMoreElements

      public boolean hasMoreElements()
      Checks if the enumeration has more elements.
      Specified by:
      hasMoreElements in interface Enumeration<E>
      Returns:
      true if there are still elements, false otherwise.
    • nextElement

      public E nextElement()
      Returns the next element in the CompoundEnumeration
      Specified by:
      nextElement in interface Enumeration<E>
      Returns: