/** * Implements the __mul__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___mul__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__mul__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__mul__", o2); } else { return o1._mul(o2); } } }
/** * Implements the __floordiv__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___floordiv__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__floordiv__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__floordiv__", o2); } else { return o1._floordiv(o2); } } }
/** * Implements the __rfloordiv__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rfloordiv__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rfloordiv__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rfloordiv__", o2); } else { return o2._floordiv(o1); } } }
/** * Implements the __truediv__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___truediv__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__truediv__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__truediv__", o2); } else { return o1._truediv(o2); } } }
/** * Implements the __div__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___div__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__div__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__div__", o2); } else { return o1._div(o2); } } }
/** * Implements the __divmod__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___divmod__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__divmod__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__divmod__", o2); } else { return o1._divmod(o2); } } }
/** * Implements the __rlshift__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rlshift__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rlshift__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rlshift__", o2); } else { return o2._lshift(o1); } } }
/** * Implements the __rxor__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rxor__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rxor__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rxor__", o2); } else { return o2._xor(o1); } } }
/** * Implements the __add__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___add__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__add__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__add__", o2); } else { return o1._add(o2); } } }
/** * Implements the __sub__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___sub__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__sub__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__sub__", o2); } else { return o1._sub(o2); } } }
/** * Implements the __rsub__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rsub__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rsub__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rsub__", o2); } else { return o2._sub(o1); } } }
/** * Implements the __rdiv__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rdiv__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rdiv__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rdiv__", o2); } else { return o2._div(o1); } } }
/** * Implements the __or__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___or__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__or__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__or__", o2); } else { return o1._or(o2); } } }
/** * Implements the __radd__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___radd__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__radd__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__radd__", o2); } else { return o2._add(o1); } } }
/** * Implements the __mod__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___mod__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__mod__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__mod__", o2); } else { return o1._mod(o2); } } }
/** * Implements the __rpow__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rpow__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rpow__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rpow__", o2); } else { return o2._pow(o1); } } }
/** * Implements the __rshift__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rshift__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rshift__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rshift__", o2); } else { return o1._rshift(o2); } } }
/** * Implements the __rand__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rand__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rand__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rand__", o2); } else { return o2._and(o1); } } }
/** * Implements the __rmul__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___rmul__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__rmul__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__rmul__", o2); } else { return o2._mul(o1); } } }
/** * Implements the __ror__ method by looking it up * in the instance's dictionary and calling it if it is found. */ @ExposedMethod(type = MethodType.BINARY) public PyObject instance___ror__(PyObject o) { Object ctmp = __coerce_ex__(o); if (ctmp == null || ctmp == Py.None) return invoke_ex("__ror__", o); else { PyObject o1 = ((PyObject[]) ctmp)[0]; PyObject o2 = ((PyObject[]) ctmp)[1]; if (this == o1) { // Prevent recursion if __coerce__ return self return invoke_ex("__ror__", o2); } else { return o2._or(o1); } } }