com.tinkerpop.blueprints.Predicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blueprints-core Show documentation
Show all versions of blueprints-core Show documentation
Core interfaces and utilities for Blueprints
package com.tinkerpop.blueprints;
/**
* A general interface for all enumerations that represent comparable operations.
*
* @author Marko A. Rodriguez (http://markorodriguez.com)
* @author Matthias Broecheler ([email protected])
*/
public interface Predicate {
/**
* If the underlying graph does not support the push-down predicate, then an in-memory evaluation can be done.
*
* @param first the left hand side of the predicate
* @param second the right hand side of the predicate
* @return the truth of the predicate given the two arguments
*/
public boolean evaluate(final Object first, final Object second);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy