Class MultiValueMap.ValuesIterator

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

    private class MultiValueMap.ValuesIterator
    extends java.lang.Object
    implements java.util.Iterator
    Inner class that provides the values iterator.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator iterator  
      private java.lang.Object key  
      private java.util.Collection values  
    • Constructor Summary

      Constructors 
      Constructor Description
      ValuesIterator​(java.lang.Object key)  
    • Method Summary

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

      • key

        private final java.lang.Object key
      • values

        private final java.util.Collection values
      • iterator

        private final java.util.Iterator iterator
    • Constructor Detail

      • ValuesIterator

        public ValuesIterator​(java.lang.Object key)
    • Method Detail

      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator
      • 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