com.bolour.sample.eclipse.service.ui
Interface IFunction

All Known Implementing Classes:
Exponentiation, Multiplication, Echo

public interface IFunction

Callback interface for extension functions.

Author:
Azad

Method Summary
 long compute(long x)
          Callback method for arithmetic computation.
 

Method Detail

compute

public long compute(long x)
             throws java.lang.ArithmeticException
Callback method for arithmetic computation.
Parameters:
x - A long integer input argument.
Returns:
The result of the callback function.
Throws:
java.lang.ArithmeticException - In case of an error.