Class Functions.IdentityDoubleFunction

  • All Implemented Interfaces:
    Function<java.lang.Double>
    Enclosing class:
    Functions

    private static class Functions.IdentityDoubleFunction
    extends DoubleFunction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double call​(double current)
      Calculates the new value based on the current value.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IdentityDoubleFunction

        private IdentityDoubleFunction()
    • Method Detail

      • call

        public double call​(double current)
        Description copied from class: DoubleFunction
        Calculates the new value based on the current value.
        Specified by:
        call in class DoubleFunction
        Parameters:
        current - the current value.
        Returns:
        the new value.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object