com.vaadin.flow.function.

Interface SerializableFunction<T,R>

    • Method Detail

      • identity

        static <T> SerializableFunction<T,T> identity()

        Returns a function that always returns its input argument.

        Specified by:

        identity in interface Function<T,R>

        Type Parameters:

        T - the type of the input and output objects to the function

        Returns:

        a function that always returns its input argument