BooleanFunction

public interface BooleanFunction<R>

Represents a function that accepts an boolean-valued argument and produces a result.

This is the {@code boolean}-consuming primitive specialization for java.util.function.Function.

Functions

apply
Link copied to clipboard
abstract R apply(boolean value)
Applies this function to the given argument.

Sources

jvm source
Link copied to clipboard