Class CompoundEnumeration<T>

java.lang.Object
org.apache.felix.framework.util.CompoundEnumeration<T>
All Implemented Interfaces:
Enumeration<T>

public class CompoundEnumeration<T> extends Object implements Enumeration<T>
  • Field Details

    • m_enums

      private Enumeration<T>[] m_enums
    • index

      private int index
  • Constructor Details

    • CompoundEnumeration

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

    • hasMoreElements

      public boolean hasMoreElements()
      Specified by:
      hasMoreElements in interface Enumeration<T>
    • findNextEnumeration

      private Enumeration<T> findNextEnumeration(boolean moveCursor)
    • findNextEnumeration

      private Enumeration<T> findNextEnumeration(int cursor, boolean moveCursor)
    • nextElement

      public T nextElement()
      Specified by:
      nextElement in interface Enumeration<T>
    • currentEnumeration

      private Enumeration<T> currentEnumeration()