Class CollectIterable.AttributePredicate<T,V>

java.lang.Object
org.eclipse.collections.impl.lazy.CollectIterable.AttributePredicate<T,V>
All Implemented Interfaces:
Serializable, Predicate<T>, Predicate<T>
Enclosing class:
CollectIterable<T,V>

private static final class CollectIterable.AttributePredicate<T,V> extends Object implements Predicate<T>
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • function

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

      private final Predicate<? super V> predicate
    • functionResult

      private transient V functionResult
  • Constructor Details

    • AttributePredicate

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

    • accept

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

      public V functionResult()
    • toString

      public String toString()
      Overrides:
      toString in class Object