Interface Apply.Result<T,V>

Type Parameters:
T - the type of data you enter as a parameter
V - the result generated when called
All Superinterfaces:
Apply
Enclosing interface:
Apply

public static interface Apply.Result<T,V> extends Apply
Very similar to the Apply interface but with the difference that it does return a value at the time of its call. That's why it's called Result
  • Method Details

    • apply

      V apply(T item)
      Apply configuration to the object and return it as a result
      Parameters:
      item - target element to which the changes will be applied
      Returns:
      returns the resulting object after applying the configuration