Predicate: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


=Composition Methods=
=Composition Methods=
*
*
*

Revision as of 19:20, 26 March 2018

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