Interface IntFunction

All Known Implementing Classes:
AbstractContinousDistribution, AbstractDistribution, DRand, MersenneTwister, RandomEngine, Uniform

public interface IntFunction
Interface that represents a function object: a function that takes a single argument and returns a single value.
  • Method Summary

    Modifier and Type Method Description
    int apply​(int argument)
    Applies a function to an argument.
  • Method Details

    • apply

      int apply​(int argument)
      Applies a function to an argument.
      Parameters:
      argument - argument passed to the function.
      Returns:
      the result of the function.