Class MultiHashMap.ValueIterator

  • All Implemented Interfaces:
    java.util.Iterator
    Enclosing class:
    MultiHashMap

    private class MultiHashMap.ValueIterator
    extends java.lang.Object
    implements java.util.Iterator
    Inner iterator to view the elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator backedIterator  
      private java.util.Iterator tempIterator  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ValueIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.lang.Object next()  
      void remove()  
      private boolean searchNextIterator()  
      • 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

      • backedIterator

        private java.util.Iterator backedIterator
      • tempIterator

        private java.util.Iterator tempIterator
    • Constructor Detail

      • ValueIterator

        private ValueIterator()
    • Method Detail

      • searchNextIterator

        private boolean searchNextIterator()
      • hasNext

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

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

        public void remove()
        Specified by:
        remove in interface java.util.Iterator