Class FastArrayList.Itr

java.lang.Object
org.ujmp.core.collections.list.FastArrayList.Itr
All Implemented Interfaces:
Iterator<E>
Direct Known Subclasses:
FastArrayList.ListItr
Enclosing class:
FastArrayList<E>

private class FastArrayList.Itr extends Object implements Iterator<E>
An optimized version of AbstractList.Itr
  • Field Details

    • cursor

      int cursor
    • lastRet

      int lastRet
  • Constructor Details

    • Itr

      private Itr()
  • Method Details

    • hasNext

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

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

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