Class FilteredBeans<Q extends java.lang.annotation.Annotation,​T>

  • All Implemented Interfaces:
    java.lang.Iterable<BeanEntry<Q,​T>>

    public final class FilteredBeans<Q extends java.lang.annotation.Annotation,​T>
    extends java.lang.Object
    implements java.lang.Iterable<BeanEntry<Q,​T>>
    Sequence of BeanEntrys filtered according to supplied Predicate. This class is public, as it is reused in Plexus Shim for realm filtering.
    • Constructor Summary

      Constructors 
      Constructor Description
      FilteredBeans​(java.util.function.Supplier<java.util.function.Predicate<BeanEntry<Q,​T>>> predicateSupplier, java.lang.Iterable<BeanEntry<Q,​T>> beans)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<BeanEntry<Q,​T>> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • FilteredBeans

        public FilteredBeans​(java.util.function.Supplier<java.util.function.Predicate<BeanEntry<Q,​T>>> predicateSupplier,
                             java.lang.Iterable<BeanEntry<Q,​T>> beans)
    • Method Detail

      • iterator

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