rx.lang.jruby
Class JRubyFunctionWrapper<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
java.lang.Object
rx.lang.jruby.JRubyFunctionWrapper<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
- Type Parameters:
T1 - T2 - T3 - T4 - R -
- All Implemented Interfaces:
- rx.util.functions.Func0<R>, rx.util.functions.Func1<T1,R>, rx.util.functions.Func2<T1,T2,R>, rx.util.functions.Func3<T1,T2,T3,R>, rx.util.functions.Func4<T1,T2,T3,T4,R>, rx.util.functions.Func5<T1,T2,T3,T4,T5,R>, rx.util.functions.Func6<T1,T2,T3,T4,T5,T6,R>, rx.util.functions.Func7<T1,T2,T3,T4,T5,T6,T7,R>, rx.util.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>, rx.util.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>, rx.util.functions.FuncN<R>, rx.util.functions.Function
public class JRubyFunctionWrapper<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
- extends java.lang.Object
- implements rx.util.functions.Func0<R>, rx.util.functions.Func1<T1,R>, rx.util.functions.Func2<T1,T2,R>, rx.util.functions.Func3<T1,T2,T3,R>, rx.util.functions.Func4<T1,T2,T3,T4,R>, rx.util.functions.Func5<T1,T2,T3,T4,T5,R>, rx.util.functions.Func6<T1,T2,T3,T4,T5,T6,R>, rx.util.functions.Func7<T1,T2,T3,T4,T5,T6,T7,R>, rx.util.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>, rx.util.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>, rx.util.functions.FuncN<R>
Concrete wrapper that accepts a RubyProc and produces any needed Rx Function.
|
Constructor Summary |
JRubyFunctionWrapper(org.jruby.runtime.ThreadContext context,
org.jruby.RubyProc proc)
|
|
Method Summary |
R |
call()
|
R |
call(java.lang.Object... args)
|
R |
call(T1 t1)
|
R |
call(T1 t1,
T2 t2)
|
R |
call(T1 t1,
T2 t2,
T3 t3)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8)
|
R |
call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyFunctionWrapper
public JRubyFunctionWrapper(org.jruby.runtime.ThreadContext context,
org.jruby.RubyProc proc)
call
public R call()
- Specified by:
call in interface rx.util.functions.Func0<R>
call
public R call(T1 t1)
- Specified by:
call in interface rx.util.functions.Func1<T1,R>
call
public R call(T1 t1,
T2 t2)
- Specified by:
call in interface rx.util.functions.Func2<T1,T2,R>
call
public R call(T1 t1,
T2 t2,
T3 t3)
- Specified by:
call in interface rx.util.functions.Func3<T1,T2,T3,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4)
- Specified by:
call in interface rx.util.functions.Func4<T1,T2,T3,T4,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
- Specified by:
call in interface rx.util.functions.Func5<T1,T2,T3,T4,T5,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6)
- Specified by:
call in interface rx.util.functions.Func6<T1,T2,T3,T4,T5,T6,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
- Specified by:
call in interface rx.util.functions.Func7<T1,T2,T3,T4,T5,T6,T7,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8)
- Specified by:
call in interface rx.util.functions.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>
call
public R call(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7,
T8 t8,
T9 t9)
- Specified by:
call in interface rx.util.functions.Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,R>
call
public R call(java.lang.Object... args)
- Specified by:
call in interface rx.util.functions.FuncN<R>