Class SmallSortedMap.EntryIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<K,​java.lang.Object>>
    Enclosing class:
    SmallSortedMap<K extends FieldSet.FieldDescriptorLite<K>>

    private class SmallSortedMap.EntryIterator
    extends java.lang.Object
    implements java.util.Iterator<java.util.Map.Entry<K,​java.lang.Object>>
    Iterator implementation that switches from the entry array to the overflow entries appropriately.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int pos  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EntryIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.util.Map.Entry<K,​java.lang.Object> next()  
      • 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, remove
    • Field Detail

      • pos

        private int pos
    • Constructor Detail

      • EntryIterator

        private EntryIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.util.Map.Entry<K extends FieldSet.FieldDescriptorLite<K>,​java.lang.Object>>
      • next

        public java.util.Map.Entry<K,​java.lang.Object> next()
        Specified by:
        next in interface java.util.Iterator<java.util.Map.Entry<K extends FieldSet.FieldDescriptorLite<K>,​java.lang.Object>>