Interface DiscreteFunction<X,​Y>

    • Method Detail

      • apply

        Y apply​(X input)
        Specified by:
        apply in interface java.util.function.Function<X,​Y>
        Throws:
        java.lang.IllegalArgumentException - in case the given x is not contained in the function
      • definedXValues

        java.util.Set<X> definedXValues()
        Returns:
        values for which the function is defined