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

org.hcjf.layers.query.evaluators.TrueEvaluator Maven / Gradle / Ivy

package org.hcjf.layers.query.evaluators;

import org.hcjf.layers.query.Queryable;

/**
 * This kind of evaluator is used to reduce the query.
 * @author javaito.
 *
 */
public final class TrueEvaluator implements Evaluator {

    /**
     * Every time return true.
     * @param object Object of the data collection.
     * @param consumer Consumer
     * @return Return every time true.
     */
    @Override
    public boolean evaluate(Object object, Queryable.DataSource dataSource, Queryable.Consumer consumer) {
        return true;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy