Interface BiFloatToFloatFunction

All Superinterfaces:
BiFunction<Float,Float,Float>, ToFloatBiFunction<Float,Float>
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 BiFloatToFloatFunction extends ToFloatBiFunction<Float,Float>
Represents a function that accepts two arguments and produces a float-valued result. This is the float-producing primitive specialization for ToFloatBiFunction.

This is a functional interface whose functional method is applyAsFloat(float, float).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    applyAsFloat(float float1, float float2)
    Applies this function to the given arguments.
    default float
    Applies this function to the given arguments.

    Methods inherited from interface java.util.function.BiFunction

    andThen

    Methods inherited from interface com.mineplex.studio.function.ToFloatBiFunction

    apply
  • Method Details

    • applyAsFloat

      float applyAsFloat(float float1, float float2)
      Applies this function to the given arguments.
      Parameters:
      float1 - the first float argument
      float2 - the second float argument
      Returns:
      the function result
    • applyAsFloat

      default float applyAsFloat(@NotNull @NotNull Float aFloat, @NotNull @NotNull Float aFloat2)
      Description copied from interface: ToFloatBiFunction
      Applies this function to the given arguments.
      Specified by:
      applyAsFloat in interface ToFloatBiFunction<Float,Float>
      Parameters:
      aFloat - the first function argument
      aFloat2 - the second function argument
      Returns:
      the function result