RxJava



rx.util.functions
Interface FunctionLanguageAdaptor


public interface FunctionLanguageAdaptor


Method Summary
 java.lang.Object call(java.lang.Object function, java.lang.Object[] args)
          Invoke the function and return the results.
 java.lang.Class<?>[] getFunctionClass()
          The Class of the Function that this adaptor serves.
 

Method Detail

call

java.lang.Object call(java.lang.Object function,
                      java.lang.Object[] args)
Invoke the function and return the results.

Parameters:
function -
args -
Returns:
Object results from function execution

getFunctionClass

java.lang.Class<?>[] getFunctionClass()
The Class of the Function that this adaptor serves.

Example: groovy.lang.Closure

This should not return classes of java.* packages.

Returns:
Class[] of classes that this adaptor should be invoked for.