Class Iterables.Filter<A>

  • All Implemented Interfaces:
    java.lang.Iterable<A>
    Enclosing class:
    Iterables

    static final class Iterables.Filter<A>
    extends java.lang.Object
    implements java.lang.Iterable<A>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Iterable<? extends A> as  
      private java.util.function.Predicate<? super A> p  
    • Constructor Summary

      Constructors 
      Constructor Description
      Filter​(java.lang.Iterable<? extends A> as, java.util.function.Predicate<? super A> p)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<A> 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
    • Field Detail

      • as

        private final java.lang.Iterable<? extends A> as
      • p

        private final java.util.function.Predicate<? super A> p
    • Constructor Detail

      • Filter

        Filter​(java.lang.Iterable<? extends A> as,
               java.util.function.Predicate<? super A> p)
    • Method Detail

      • iterator

        public java.util.Iterator<A> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<A>