View Javadoc
1   package org.djunits.value.vfloat.function;
2   
3   /**
4    * FloatFunction carries out a specific transformation function that takes two operands.
5    * <p>
6    * Copyright (c) 2019-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="https://djunits.org/docs/license.html">DJUNITS License</a>.
8    * </p>
9    * @author <a href="https://www.tudelft.nl/staff/p.knoppers/">Peter Knoppers</a>
10   */
11  public interface FloatFunction2
12  {
13      /**
14       * Apply function on two float values.
15       * @param leftValue the value of the left operand
16       * @param rightValue the value of the right operand
17       * @return the result of the operation
18       */
19      float apply(float leftValue, float rightValue);
20  
21  }