sf.util.Predicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of schemacrawler Show documentation
Show all versions of schemacrawler Show documentation
SchemaCrawler is an open-source Java API that makes working with database metadata as easy as working with plain old Java objects. SchemaCrawler is also a database schema discovery and comprehension, and schema documentation tool. You can search for database schema objects using regular expressions, and output the schema and data in a readable text format. The output is designed to be diff-ed against other database schemas.
package sf.util;
/**
* Represents a predicate (boolean-valued function) of one argument.
*
* This is a functional interface whose functional method is
* {@link #test(Object)}.
*
* @param
* the type of the input to the predicate
* @since 1.8
*/
// @FunctionalInterface
public interface Predicate
{
/**
* Evaluates this predicate on the given argument.
*
* @param t
* the input argument
* @return {@code true} if the input argument matches the predicate,
* otherwise {@code false}
*/
boolean test(T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy