Class LongArrayList.Itr

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Long>
    Direct Known Subclasses:
    LongArrayList.ListItr
    Enclosing class:
    LongArrayList

    private class LongArrayList.Itr
    extends java.lang.Object
    implements java.util.Iterator<java.lang.Long>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int cursor  
      (package private) int expectedModCount  
      (package private) int lastRet  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Itr()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void checkForComodification()  
      boolean hasNext()  
      java.lang.Long next()  
      void remove()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Field Detail

      • cursor

        int cursor
      • lastRet

        int lastRet
      • expectedModCount

        int expectedModCount
    • Constructor Detail

      • Itr

        private Itr()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Long>
      • next

        public java.lang.Long next()
        Specified by:
        next in interface java.util.Iterator<java.lang.Long>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.lang.Long>
      • checkForComodification

        final void checkForComodification()