com.hashicorp.nomad.javasdk.Predicate Maven / Gradle / Ivy
package com.hashicorp.nomad.javasdk;
/**
* A predicate representing a boolean property.
*
* @param The type on which the predicate can be evaluated
*/
public interface Predicate {
/**
* Evaluates the predicate.
*
* @param value the value to check the predicate against
* @return true if the value satisfies the predicate, false if it does not
*/
boolean apply(T value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy