Class LocatedBeans.Itr

  • All Implemented Interfaces:
    java.util.Iterator<BeanEntry<Q,​T>>
    Enclosing class:
    LocatedBeans<Q extends java.lang.annotation.Annotation,​T>

    final class LocatedBeans.Itr
    extends java.lang.Object
    implements java.util.Iterator<BeanEntry<Q,​T>>
    BeanEntry iterator that creates new elements from Bindings as required.
    • Field Detail

      • readCache

        private final java.util.Map<com.google.inject.Binding<T>,​BeanEntry<Q extends java.lang.annotation.Annotation,​T>> readCache
      • checkImplicitBindings

        private boolean checkImplicitBindings
      • nextBean

        private BeanEntry<Q extends java.lang.annotation.Annotation,​T> nextBean
    • Constructor Detail

      • Itr

        Itr()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<BeanEntry<Q extends java.lang.annotation.Annotation,​T>>
      • next

        public BeanEntry<Q,​T> next()
        Specified by:
        next in interface java.util.Iterator<BeanEntry<Q extends java.lang.annotation.Annotation,​T>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<BeanEntry<Q extends java.lang.annotation.Annotation,​T>>