Interface Apply.EmptyError<T,E extends Throwable>

Type Parameters:
T - the type of data you enter as a parameter
E - the type of error when the interface is called
All Superinterfaces:
Apply
All Known Subinterfaces:
Apply.EmptyErrorSafe<T,E>
Enclosing interface:
Apply

public static interface Apply.EmptyError<T,E extends Throwable> extends Apply
Very similar to the Apply interface but with the difference that it can generate an error at the time of its call
  • Method Details

    • apply

      void apply(T item) throws E
      Apply configuration to the object and return it as a result
      Parameters:
      item - target element to which the changes will be applied
      Throws:
      E - Error if something goes wrong