Uses of Interface
io.activej.async.function.AsyncBiPredicate
Packages that use AsyncBiPredicate
-
Uses of AsyncBiPredicate in io.activej.async.function
Methods in io.activej.async.function that return AsyncBiPredicateModifier and TypeMethodDescriptionstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.alwaysFalse()Returns anAsyncBiPredicatethat always returns promise offalsestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.alwaysTrue()Returns anAsyncBiPredicatethat always returns promise oftruedefault AsyncBiPredicate<T,U> AsyncBiPredicate.and(AsyncBiPredicate<? super T, ? super U> other) Returns a composedAsyncBiPredicatethat represents a logical AND of this asynchronous predicate and the otherstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and()Returns anAsyncBiPredicatethat always returns promise oftruestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U> predicate1) Returns a given asynchronous predicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U>... predicates) Returns a composedAsyncBiPredicatethat represents a logical AND of all predicates in a given arraystatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U> predicate1, AsyncBiPredicate<? super T, ? super U> predicate2) An optimization forAsyncBiPredicates.and(AsyncBiPredicate[])static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(Collection<AsyncBiPredicate<? super T, ? super U>> predicates) Returns a composedAsyncBiPredicatethat represents a logical AND of all predicates in a given collectionstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.buffer(int maxParallelCalls, int maxBufferedCalls, AsyncBiPredicate<T, U> predicate) static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.buffer(AsyncBiPredicate<T, U> actual) default AsyncBiPredicate<T,U> AsyncBiPredicate.negate()NegatesthisAsyncBiPredicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.not(AsyncBiPredicate<? super T, ? super U> predicate) Negates a givenAsyncBiPredicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.of(io.activej.common.function.BiPredicateEx<? super T, ? super U> predicate) Wraps aBiPredicateExinterface.static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.ofExecutor(AsyncExecutor executor, AsyncBiPredicate<T, U> predicate) default AsyncBiPredicate<T,U> AsyncBiPredicate.or(AsyncBiPredicate<? super T, ? super U> other) Returns a composedAsyncBiPredicatethat represents a logical OR of this asynchronous predicate and the otherstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or()Returns anAsyncBiPredicatethat always returns promise offalsestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U> predicate1) Returns a given asynchronous predicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U>... predicates) Returns a composedAsyncBiPredicatethat represents a logical OR of all predicates in a given arraystatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U> predicate1, AsyncBiPredicate<? super T, ? super U> predicate2) An optimization forAsyncBiPredicates.or(AsyncBiPredicate[])static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(Collection<AsyncBiPredicate<? super T, ? super U>> predicates) Returns a composedAsyncBiPredicatethat represents a logical OR of all predicates in a given collectionstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.sanitize(AsyncBiPredicateEx<? super T, ? super U> predicate) Methods in io.activej.async.function with parameters of type AsyncBiPredicateModifier and TypeMethodDescriptiondefault AsyncBiPredicate<T,U> AsyncBiPredicate.and(AsyncBiPredicate<? super T, ? super U> other) Returns a composedAsyncBiPredicatethat represents a logical AND of this asynchronous predicate and the otherstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U> predicate1) Returns a given asynchronous predicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U>... predicates) Returns a composedAsyncBiPredicatethat represents a logical AND of all predicates in a given arraystatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(AsyncBiPredicate<? super T, ? super U> predicate1, AsyncBiPredicate<? super T, ? super U> predicate2) An optimization forAsyncBiPredicates.and(AsyncBiPredicate[])static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.buffer(int maxParallelCalls, int maxBufferedCalls, AsyncBiPredicate<T, U> predicate) static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.buffer(AsyncBiPredicate<T, U> actual) static <T,U> AsyncBiPredicate<T, U> AsyncBiPredicate.not(AsyncBiPredicate<? super T, ? super U> predicate) Negates a givenAsyncBiPredicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.ofExecutor(AsyncExecutor executor, AsyncBiPredicate<T, U> predicate) default AsyncBiPredicate<T,U> AsyncBiPredicate.or(AsyncBiPredicate<? super T, ? super U> other) Returns a composedAsyncBiPredicatethat represents a logical OR of this asynchronous predicate and the otherstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U> predicate1) Returns a given asynchronous predicatestatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U>... predicates) Returns a composedAsyncBiPredicatethat represents a logical OR of all predicates in a given arraystatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(AsyncBiPredicate<? super T, ? super U> predicate1, AsyncBiPredicate<? super T, ? super U> predicate2) An optimization forAsyncBiPredicates.or(AsyncBiPredicate[])Method parameters in io.activej.async.function with type arguments of type AsyncBiPredicateModifier and TypeMethodDescriptionstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.and(Collection<AsyncBiPredicate<? super T, ? super U>> predicates) Returns a composedAsyncBiPredicatethat represents a logical AND of all predicates in a given collectionstatic <T,U> AsyncBiPredicate<T, U> AsyncBiPredicates.or(Collection<AsyncBiPredicate<? super T, ? super U>> predicates) Returns a composedAsyncBiPredicatethat represents a logical OR of all predicates in a given collection