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>
  • Constructor Details

    • PythonBinaryOperator

      public PythonBinaryOperator(org.jpy.PyObject pyCallable, Class<T> classOut)
      Creates a PythonBiFunction.PythonBinaryOperator which calls a Python function.
      Parameters:
      pyCallable - The python object providing the function - must either be callable or have an apply attribute which is callable.
      classOut - The specific Java class expected to be returned by the PythonBiFunction.apply(Object, Object) method. This should be the result of converting or unwrapping the output of pyCallable.