1 package org.djunits.value.vfloat.function;
2
3 /**
4 * DoubleFunction carries out a specific transformation function on a float value.
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/averbraeck" target="_blank">Alexander Verbraeck</a>
10 */
11 public interface FloatFunction
12 {
13 /**
14 * Carry out a specific transformation function on a float value.
15 * @param value the value to transform
16 * @return the transformed value
17 */
18 float apply(float value);
19
20 }