View Javadoc
1   package org.djunits.value.vdouble.function;
2   
3   /**
4    * DoubleFunction carries out a specific transformation function on a double value.
5    * <p>
6    * Copyright (c) 2019-2023 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 DoubleFunction
12  {
13      /**
14       * Carry out a specific transformation function on a double value.
15       * @param value double; the value to transform
16       * @return double; the transformed value
17       */
18      double apply(double value);
19  }