Top Description Methods
io.smallrye.common.function

public Interface ExceptionObjLongPredicate<T, E extends Exception>

Type Parameters
<T>
the first argument type
<E>
the exception type
Imports
java.util.Objects

A predicate that operates on an object and a long integer.

Method Summary

Modifier and TypeMethod and Description
public default ExceptionObjLongPredicate<T, E>

Returns:

a predicate which is true only when this and the given predicate return true
and
(ExceptionObjLongPredicate<? super T, ? extends E>
the other predicate (must not be null)
other
)

Returns a predicate which is true only when this and the given predicate return true.

public default ExceptionObjLongPredicate<T, E>

Returns:

a predicate which is true when this predicate is false, and vice-versa
negate
()

Returns a predicate which is true when this predicate is false, and vice-versa.

public default ExceptionObjLongPredicate<T, E>

Returns:

a predicate which is true when either this or the given predicate return true
or
(ExceptionObjLongPredicate<? super T, ? extends E>
the other predicate (must not be null)
other
)

Returns a predicate which is true when either this or the given predicate return true.

public boolean

Returns:

true if the predicate passes, false otherwise
test
(T
the first argument
object
,
long
the second argument
value
)

Evaluate this predicate on the given arguments.

Method Detail

andback to summary
public default ExceptionObjLongPredicate<T, E> and(ExceptionObjLongPredicate<? super T, ? extends E> other)

Returns a predicate which is true only when this and the given predicate return true.

Parameters
other:ExceptionObjLongPredicate<? super T, ? extends E>

the other predicate (must not be null)

Returns:ExceptionObjLongPredicate<T, E>

a predicate which is true only when this and the given predicate return true

negateback to summary
public default ExceptionObjLongPredicate<T, E> negate()

Returns a predicate which is true when this predicate is false, and vice-versa.

Returns:ExceptionObjLongPredicate<T, E>

a predicate which is true when this predicate is false, and vice-versa

orback to summary
public default ExceptionObjLongPredicate<T, E> or(ExceptionObjLongPredicate<? super T, ? extends E> other)

Returns a predicate which is true when either this or the given predicate return true.

Parameters
other:ExceptionObjLongPredicate<? super T, ? extends E>

the other predicate (must not be null)

Returns:ExceptionObjLongPredicate<T, E>

a predicate which is true when either this or the given predicate return true

testback to summary
public boolean test(T object, long value) throws ExceptionPredicate:E

Evaluate this predicate on the given arguments.

Parameters
object:T

the first argument

value:long

the second argument

Returns:boolean

true if the predicate passes, false otherwise

Exceptions
ExceptionPredicate:E:
if an exception occurs