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

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

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

import org.mwg.Node;

/**
 * Task closure function to transform nodes for next action
 */
@FunctionalInterface
public interface TaskFunctionMap {
    /**
     * Convert a node to any kind of object for next action
     *
     * @param node current node to convert
     * @return converted results, can be any object
     */
    Object map(Node node);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy