Interface IApply.WithResult<T,​V>

  • All Superinterfaces:
    IApply
    Enclosing interface:
    IApply

    public static interface IApply.WithResult<T,​V>
    extends IApply
    • Method Detail

      • run

        V run​(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