Type Parameters:
T - the type of the operand and result of the operator
All Superinterfaces:
Function<T,T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

  • Method Summary

    Static Methods

    identity()

    Returns a unary operator that always returns its input argument.

    Methods declared in interface Function

    andThen, apply, compose

    Returns a composed function that first applies this function to its input, and then applies the after function to the result.

    Applies this function to the given argument.

    Returns a composed function that first applies the before function to its input, and then applies this function to the result.

  • Method Details

    • identity