Class CollectionsX.ArrayIterator<E>

java.lang.Object
org.zkoss.util.CollectionsX.ArrayIterator<E>
All Implemented Interfaces:
Iterator<E>
Direct Known Subclasses:
CollectionsX.ArrayListIterator
Enclosing class:
CollectionsX

public static class CollectionsX.ArrayIterator<E> extends Object implements Iterator<E>
An iterator on top of an array.
  • Constructor Details

    • ArrayIterator

      public ArrayIterator(Object[] ary)
      Parameters:
      ary - an array or null.
  • Method Details

    • hasNext

      public final boolean hasNext()
      Specified by:
      hasNext in interface Iterator<E>
    • next

      public final E next()
      Specified by:
      next in interface Iterator<E>
    • remove

      public final void remove()
      Specified by:
      remove in interface Iterator<E>