Package io.deephaven.integrations.python
Class PythonBiFunction.PythonBinaryOperator<T>
java.lang.Object
io.deephaven.integrations.python.PythonBiFunction<T,T,T>
io.deephaven.integrations.python.PythonBiFunction.PythonBinaryOperator<T>
- All Implemented Interfaces:
BiFunction<T,,T, T> BinaryOperator<T>
- Enclosing class:
- PythonBiFunction<T,
U, R>
public static class PythonBiFunction.PythonBinaryOperator<T>
extends PythonBiFunction<T,T,T>
implements BinaryOperator<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.integrations.python.PythonBiFunction
PythonBiFunction.PythonBinaryOperator<T> -
Constructor Summary
ConstructorsConstructorDescriptionPythonBinaryOperator(org.jpy.PyObject pyCallable, Class<T> classOut) Creates aPythonBiFunction.PythonBinaryOperatorwhich calls a Python function. -
Method Summary
Methods inherited from class io.deephaven.integrations.python.PythonBiFunction
applyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen, apply
-
Constructor Details
-
PythonBinaryOperator
Creates aPythonBiFunction.PythonBinaryOperatorwhich calls a Python function.- Parameters:
pyCallable- The python object providing the function - must either be callable or have anapplyattribute which is callable.classOut- The specific Java class expected to be returned by thePythonBiFunction.apply(Object, Object)method. This should be the result of converting or unwrapping the output ofpyCallable.
-