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

com.tinkerpop.blueprints.Predicate Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
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