Predicate

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

A predicate is a function that evaluates an argument and returns a boolean.

@FunctionalInterface
public interface Predicate<T> {

    boolean test(T t);

    ...
}

Composition Methods