@FunctionalInterface
public interface Predicate<T>


Represents a predicate boolean-valued function of one argument. It is used internally to avoid using Java 8 functional interface that leads to desugaring and Proguard shrinking.

Parameters
<T>

the type of the input to the predicate

See also
Predicate

Summary

Public methods

abstract boolean
test(T t)

Tests the predicate against a given argument.

Public methods

test

Added in 1.0.0
abstract boolean test(T t)

Tests the predicate against a given argument.

Parameters
T t

the input of the predicate

Returns
boolean

true if the input matches the Predicate, otherwise, false