Class CollectIterable.AttributePredicate<T,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Predicate<T>, Predicate<T>
    Enclosing class:
    CollectIterable<T,​V>

    private static final class CollectIterable.AttributePredicate<T,​V>
    extends java.lang.Object
    implements Predicate<T>
    • Field Detail

      • function

        private final Function<? super T,​? extends V> function
      • predicate

        private final Predicate<? super V> predicate
      • functionResult

        private transient V functionResult
    • Constructor Detail

      • AttributePredicate

        private AttributePredicate​(Function<? super T,​? extends V> newFunction,
                                   Predicate<? super V> newPredicate)
    • Method Detail

      • accept

        public boolean accept​(T anObject)
        Specified by:
        accept in interface Predicate<T>
      • functionResult

        public V functionResult()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object