Class ProviderIterableAdapter.ProviderIterator<K extends java.lang.annotation.Annotation,​V>

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<K,​javax.inject.Provider<V>>>
    Enclosing class:
    ProviderIterableAdapter<K extends java.lang.annotation.Annotation,​V>

    private static final class ProviderIterableAdapter.ProviderIterator<K extends java.lang.annotation.Annotation,​V>
    extends java.lang.Object
    implements java.util.Iterator<java.util.Map.Entry<K,​javax.inject.Provider<V>>>
    Iterator of Provider Map.Entrys backed by an iterator of BeanEntrys.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator<BeanEntry<K,​V>> iterator  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.util.Map.Entry<K,​javax.inject.Provider<V>> 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

      • iterator

        private final java.util.Iterator<BeanEntry<K extends java.lang.annotation.Annotation,​V>> iterator
    • Constructor Detail

      • ProviderIterator

        ProviderIterator​(java.lang.Iterable<BeanEntry<K,​V>> iterable)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<K extends java.lang.annotation.Annotation>
      • next

        public java.util.Map.Entry<K,​javax.inject.Provider<V>> next()
        Specified by:
        next in interface java.util.Iterator<K extends java.lang.annotation.Annotation>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<K extends java.lang.annotation.Annotation>