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

org.mwg.task.TaskFunctionSelect Maven / Gradle / Ivy

There is a newer version: 10
Show newest version
package org.mwg.task;

import org.mwg.Node;

/**
 * Task closure function to select nodes for next action
 */
@FunctionalInterface
public interface TaskFunctionSelect {

    /**
     * Selection function called that specify if a specified node
     * will be in the result set or not
     *
     * @param node node to select or not for next action
     * @return true to keep this node for the next action
     */
    boolean select(Node node);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy