Interface ToFloatFunction<T1>

All Superinterfaces:
Function<T1,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 ToFloatFunction<T1> extends Function<T1,Float>
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NonNull Float
    apply(T1 t1)
     
    float
    Applies this function to the given arguments.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      default @NonNull Float apply(T1 t1)
      Specified by:
      apply in interface Function<T1,Float>
    • applyAsFloat

      float applyAsFloat(T1 t1)
      Applies this function to the given arguments.
      Parameters:
      t1 - the first function argument
      Returns:
      the function result