Interface FloatFunction2


  • public interface FloatFunction2
    FloatFunction carries out a specific transformation function that takes two operands.

    Copyright (c) 2019-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See DJUNITS License.

    Author:
    Peter Knoppers
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float apply​(float leftValue, float rightValue)
      Apply function on two float values.
    • Method Detail

      • apply

        float apply​(float leftValue,
                    float rightValue)
        Apply function on two float values.
        Parameters:
        leftValue - float; the value of the left operand
        rightValue - float; the value of the right operand
        Returns:
        float; the result of the operation