You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
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.

        Type Parameters:

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

        Returns:

        a function that always returns its input argument