Interface TFunction<T,​R>

All Known Subinterfaces:
TUnaryOperator<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TFunction<T,​R>
  • Method Details

    • apply

      R apply(T t)
    • compose

      default <V> TFunction<V,​R> compose(TFunction<? super V,​? extends T> before)
    • andThen

      default <V> TFunction<T,​V> andThen(TFunction<? super R,​? extends V> after)
    • identity

      static <T> TFunction<T,​T> identity()