Class CollectionsX.ArrayEnumeration<E>

  • All Implemented Interfaces:
    java.util.Enumeration<E>
    Enclosing class:
    CollectionsX

    public static final class CollectionsX.ArrayEnumeration<E>
    extends java.lang.Object
    implements java.util.Enumeration<E>
    An enumeration on top of an array.
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayEnumeration​(java.lang.Object[] ary)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasMoreElements()  
      E nextElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Enumeration

        asIterator
    • Constructor Detail

      • ArrayEnumeration

        public ArrayEnumeration​(java.lang.Object[] ary)
    • Method Detail

      • hasMoreElements

        public final boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<E>
      • nextElement

        public final E nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<E>