info.javelot.functionalj.reflect.function
Class StdReflectFunction<R>
java.lang.Object
info.javelot.functionalj.FunctionNImpl<R>
info.javelot.functionalj.reflect.function.StdReflectFunction<R>
- Type Parameters:
R - the type of the result returned by the function.
- All Implemented Interfaces:
- FunctionN<R>
public class StdReflectFunction<R>
- extends FunctionNImpl<R>
Function to invoke a reflect element.
- Author:
- Copyright © 2006
Frederic Daoud
|
Method Summary |
R |
call(Object... p_params)
Calls the function and returns the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdReflectFunction
public StdReflectFunction(ReflectElement p_element)
- Constructs a function to invoke the reflect element.
- Parameters:
p_element - the reflect element to be invoked by the function.
call
public R call(Object... p_params)
throws FunctionException
- Description copied from interface:
FunctionN
- Calls the function and returns the result.
- Parameters:
p_params - the parameters to the function.
- Returns:
- the result of the function call.
- Throws:
FunctionException - thrown if an exception occurs during the function
call.