Interface TriFunction<T,U,V,R>


@Deprecated(forRemoval=true, since="3.0.0") public interface TriFunction<T,U,V,R>
Deprecated, for removal: This API element is subject to removal in a future version.
The Floodgate API has been deprecated in favor of the GeyserApi, which is shared between Geyser and Floodgate
  • Method Summary

    Modifier and Type
    Method
    Description
    default <S> TriFunction<T,U,V,S>
    andThen(Function<? super R,? extends S> after)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a composed function that first applies this function to its input, and then applies the after function to the result.
    apply(T t, U u, V v)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Performs this operation on the given arguments.
  • Method Details

    • apply

      R apply(T t, U u, V v)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Performs this operation on the given arguments.
      Parameters:
      t - the first input argument
      u - the second input argument
      v - the third input argument
    • andThen

      default <S> TriFunction<T,U,V,S> andThen(Function<? super R,? extends S> after)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a composed function that first applies this function to its input, and then applies the after function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.
      Type Parameters:
      S - the type of output of the after function, and of the composed function
      Parameters:
      after - the function to apply after this function is applied
      Returns:
      a composed function that first applies this function and then applies the after function
      Throws:
      NullPointerException - if after is null