Interface IApply.WithResult<T,V>

All Superinterfaces:
IApply
Enclosing interface:
IApply

public static interface IApply.WithResult<T,V> extends IApply
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.github.ushiosan23.jvm.functions.apply.IApply

    IApply.EmptyResult<T>, IApply.WithResult<T,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(T element)
    Apply configuration to the object and return it as a result
  • Method Details

    • invoke

      V invoke(T element)
      Apply configuration to the object and return it as a result
      Parameters:
      element - Object to which the action applies
      Returns:
      Returns the same object is returned but with the changes made