@Test @DisplayName("Any") void selectMatchingAny() { assertTrue(setHasNames( Selector.create(configuration).enemies().friends().selectMatchingAny(), "John", "Ben", "Mark", "Jack")); }
public Set<P> selectMatchingAny() { return select(p -> predicates.stream().anyMatch(predicate -> predicate.test(p))); }
Selector { public Set<P> selectMatchingAny() { return select(p -> predicates.stream().anyMatch(predicate -> predicate.test(p))); } }
Selector { public Set<P> selectMatchingAny() { return select(p -> predicates.stream().anyMatch(predicate -> predicate.test(p))); } private  Selector(T configuration); }
Selector { public Set<P> selectMatchingAny() { return select(p -> predicates.stream().anyMatch(predicate -> predicate.test(p))); } private  Selector(T configuration); static Selector<P, T> create(T configuration); Selector<P, T> friends(); Selector<P, T> enemies(); Selector<P, T> exactValue(double value); Selector<P, T> association(Association association); Set<P> selectMatchingAll(); Set<P> selectMatchingNone(); Set<P> selectMatchingAny(); }
Selector { public Set<P> selectMatchingAny() { return select(p -> predicates.stream().anyMatch(predicate -> predicate.test(p))); } private  Selector(T configuration); static Selector<P, T> create(T configuration); Selector<P, T> friends(); Selector<P, T> enemies(); Selector<P, T> exactValue(double value); Selector<P, T> association(Association association); Set<P> selectMatchingAll(); Set<P> selectMatchingNone(); Set<P> selectMatchingAny();  }