Interface stl_Callback<T,​E>

Type Parameters:
T - The return type; if nothing is to be returned, put Void and return Null in the implementation
E - The parameter type; if nothing is to be taken, put Null_t.
All Known Subinterfaces:
stl_ErrCall, stl_Listener<E>, stl_ListenerDeployable<A>, stl_Loggable
All Known Implementing Classes:
stl_Commands, stl_Commands.Commands_Fx, stl_Commands.Type_DYNAMIC, stl_Commands.Type_HYBRID, stl_Commands.Type_INFORMATIONAL, stl_Commands.Type_STATIC
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface stl_Callback<T,​E>
A functional callback. A callback is defined as basically lambda. Additionally it can be thought of as a crossover between Consumer and a Supplier.
  • Method Summary

    Modifier and Type Method Description
    T call​(E arg)
    Call this callback with the specified attributes.
  • Method Details

    • call

      T call​(E arg)
      Call this callback with the specified attributes.
      Parameters:
      arg - The specified parameter type
      Returns:
      The specified return type. Return "null" if the return type was set to Void