com.coherentlogic.fred.client.misc.utils.Action Maven / Gradle / Ivy
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