Knopflerfish OSGi 6.0.0

org.osgi.util.function
Interface Predicate<T>

Type Parameters:
T - The type of the predicate input.

@ConsumerType
public interface Predicate<T>

A predicate that accepts a single argument and produces a boolean result.

This is a functional interface and can be used as the assignment target for a lambda expression or method reference.

Author:
$Id: 0c2c61f78bede4e2afc4278af4f5e4b873769347 $
ThreadSafe

Method Summary
 boolean test(T t)
          Evaluates this predicate on the specified argument.
 

Method Detail

test

boolean test(T t)
Evaluates this predicate on the specified argument.

Parameters:
t - The input to this predicate.
Returns:
true if the specified argument is accepted by this predicate; false otherwise.

Knopflerfish OSGi 6.0.0