All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tommyettinger.function.BooleanPredicate Maven / Gradle / Ivy

The newest version!
package com.github.tommyettinger.function;

/**
 * Represents an operation that accepts a single {@code boolean}-valued argument and
 * returns a {@code boolean} result.
 * 
* This is a functional interface whose functional method is {@link #test(boolean)}. */ @FunctionalInterface public interface BooleanPredicate { /** * Evaluates this predicate on the given argument. * * @param value the input argument * @return {@code true} if the input argument matches the predicate, * otherwise {@code false} */ boolean test(boolean value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy