Class PythonComplex
java.lang.Object
ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
ai.timefold.jpyinterpreter.types.numeric.PythonComplex
- All Implemented Interfaces:
PythonLikeObject,PythonNumber,PythonLikeComparable<PythonNumber>,PlanningImmutable,Comparable<PythonNumber>
public class PythonComplex
extends AbstractPythonLikeObject
implements PythonNumber, PlanningImmutable
-
Field Summary
FieldsFields inherited from class ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
OBJECT_TYPEFields inherited from interface ai.timefold.jpyinterpreter.types.numeric.PythonNumber
INFINITY_HASH_VALUE, MODULUS, NUMBER_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReal()getValue()valueOf(PythonNumber real, PythonNumber imaginary) Methods inherited from class ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
$deleteAttribute, $getAttributeOrNull, $getType, $setAttribute, getExtraAttributeMap, setAttribute, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.jpyinterpreter.types.PythonLikeComparable
greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqualMethods inherited from interface ai.timefold.jpyinterpreter.PythonLikeObject
$deleteAttribute, $getAttributeOrError, $getAttributeOrNull, $getGenericType, $getType, $method$__delattr__, $method$__eq__, $method$__format__, $method$__format__, $method$__getattribute__, $method$__hash__, $method$__ne__, $method$__repr__, $method$__setattr__, $method$__str__, $setAttributeMethods inherited from interface ai.timefold.jpyinterpreter.types.numeric.PythonNumber
compareTo
-
Field Details
-
COMPLEX_TYPE
-
-
Constructor Details
-
PythonComplex
-
-
Method Details
-
valueOf
-
getValue
- Specified by:
getValuein interfacePythonNumber
-
getReal
-
getImaginary
-