Top Description Methods
org.wildfly.common.function

public Interface ExceptionBiPredicate<T, U, E extends java.lang.Exception>

Annotations
@FunctionalInterface

A two-argument predicate which can throw an exception.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public default ExceptionBiPredicate<T, U, E>
and(ExceptionBiPredicate<T, U, E> other)

public default ExceptionBiPredicate<T, U, E>
not()

public default ExceptionBiPredicate<T, U, E>
or(ExceptionBiPredicate<T, U, E> other)

public boolean

Returns:

true if the predicate passes, false otherwise
test
(T
the first argument
t
,
U
the second argument
u
)

Evaluate this predicate on the given arguments.

public default ExceptionBiPredicate<T, U, E>
xor(ExceptionBiPredicate<T, U, E> other)

Method Detail

andback to summary
public default ExceptionBiPredicate<T, U, E> and(ExceptionBiPredicate<T, U, E> other)
notback to summary
public default ExceptionBiPredicate<T, U, E> not()
orback to summary
public default ExceptionBiPredicate<T, U, E> or(ExceptionBiPredicate<T, U, E> other)
testback to summary
public boolean test(T t, U u) throws ExceptionBiConsumer:E

Evaluate this predicate on the given arguments.

Parameters
t:T

the first argument

u:U

the second argument

Returns:boolean

true if the predicate passes, false otherwise

Exceptions
ExceptionBiConsumer:E:
if an exception occurs
xorback to summary
public default ExceptionBiPredicate<T, U, E> xor(ExceptionBiPredicate<T, U, E> other)