Interface FloatUnaryOperator

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 FloatUnaryOperator
A unary operator which takes one float and returns another float.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    applyAsFloat(float operand)
    Applies this operator function.
  • Method Details

    • applyAsFloat

      float applyAsFloat(float operand)
      Applies this operator function.
      Parameters:
      operand - The operand (input value) to supply
      Returns:
      The return value of this function