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

com.coherentlogic.fred.client.misc.utils.Action Maven / Gradle / Ivy

There is a newer version: 2.0.3-RELEASE
Show newest version
package com.coherentlogic.fred.client.misc.utils;

/**
 * An action is executed on some data. The action is similar to a closure,
 * however since Java does not have closures (yet), we can get around this by
 * using an instance of this class as an anonymous inner class.
 *
 * @author Support
 */
public interface Action {

    /**
     * Method represents the logic to execute on the data.
     *
     * @param data Any data which you'd like to apply the logic to.
     */
    void execute (D data);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy