Interface Closure<T>

    • Method Detail

      • execute

        void execute​(T input)
        Performs an action on the specified input object.
        Parameters:
        input - the input to execute on
        Throws:
        ClassCastException - (runtime) if the input is the wrong class
        IllegalArgumentException - (runtime) if the input is invalid
        FunctorException - (runtime) if any other error occurs