Colt 1.0.3

cern.colt.function
Interface IntFunction

All Known Implementing Classes:
AbstractDistribution, RandomEngine

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

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

Colt 1.0.3

Submit a bug or feature. Check the Colt home page for the latest news.