Top Description Methods
org.jooq.lambda.fi.util.function

public Interface CheckedIntPredicate

Annotations
@FunctionalInterface
Imports
java.util.function.Consumer, .IntPredicate, org.jooq.lambda.Sneaky, .Unchecked

A IntPredicate that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public static IntPredicate
public boolean

Returns:

true if the input argument matches the predicate, otherwise false
test
(int
the input argument
value
)

Evaluates this predicate on the given argument.

public static IntPredicate
public static IntPredicate

Method Detail

sneakyback to summary
public static IntPredicate sneaky(CheckedIntPredicate predicate)
See Also
Sneaky#intPredicate(CheckedIntPredicate)
testback to summary
public boolean test(int value) throws Throwable

Evaluates this predicate on the given argument.

Parameters
value:int

the input argument

Returns:boolean

true if the input argument matches the predicate, otherwise false

uncheckedback to summary
public static IntPredicate unchecked(CheckedIntPredicate predicate)
See Also
Unchecked#intPredicate(CheckedIntPredicate)
uncheckedback to summary
public static IntPredicate unchecked(CheckedIntPredicate function, Consumer<Throwable> handler)
See Also
Unchecked#intPredicate(CheckedIntPredicate, Consumer)