com.jdroid.java.collections.Predicate Maven / Gradle / Ivy
package com.jdroid.java.collections;
/**
* Determines a true or false value for a given input.
*
* @param
*/
public interface Predicate {
/**
* Returns the result of applying this predicate to {@code input}. This method is generally expected, but not
* absolutely required, to have the following properties:
*
*
* - Its execution does not cause any observable side effects.
*
*
* @param input The input to evaluate
* @return True or false
*/
public Boolean apply(T input);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy