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

def.js.FunctionalObject Maven / Gradle / Ivy

The newest version!
package def.js;

/**
 * This interface defines the $apply signature that allows invoking
 * an object.
 * 
 * 

* The code o.$apply(args) is transpiled to o(args). * Implementing this interface is not mandatory to create a functional object. * Just defining the $apply function is enough. It is however * recommended to implement this interface for readbility sake. * * @author Renaud Pawlak */ public interface FunctionalObject { R $apply(Object... arguments); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy