Parallel Colt 0.7.2

cern.colt.function.tint
Interface IntFunction

All Known Implementing Classes:
AbstractContinousDoubleDistribution, AbstractContinousFloatDistribution, AbstractDiscreteDistribution, AbstractDoubleDistribution, AbstractFloatDistribution, Beta, Binomial, BreitWigner, BreitWignerMeanSquare, ChiSquare, DoubleMersenneTwister, DoubleRandomEngine, DoubleUniform, DRand, Empirical, EmpiricalWalker, Exponential, ExponentialPower, FloatMersenneTwister, FloatRandomEngine, FloatUniform, FRand, Gamma, Hyperbolic, HyperGeometric, IntMult, Logarithmic, MersenneTwister64, NegativeBinomial, Normal, Poisson, PoissonSlow, StudentT, VonMises, Zeta

public interface IntFunction

Interface that represents a function object: a function that takes a single argument and returns a single value.


Method Summary
 int apply(int argument)
          Applies a function to an argument.
 

Method Detail

apply

int apply(int argument)
Applies a function to an argument.

Parameters:
argument - argument passed to the function.
Returns:
the result of the function.

Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage