Interface PythonNumber
- All Superinterfaces:
Comparable<PythonNumber>,PythonLikeComparable<PythonNumber>,PythonLikeObject
- All Known Implementing Classes:
PythonBoolean,PythonComplex,PythonDecimal,PythonFloat,PythonInteger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PythonIntegerstatic final PythonIntegerstatic final PythonLikeType -
Method Summary
Modifier and TypeMethodDescriptiondefault intcompareTo(PythonNumber pythonNumber) static PythonIntegercomputeHash(PythonInteger numerator, PythonInteger denominator) getValue()Methods 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__, $setAttribute
-
Field Details
-
NUMBER_TYPE
-
MODULUS
-
INFINITY_HASH_VALUE
-
-
Method Details
-
getValue
Number getValue() -
compareTo
- Specified by:
compareToin interfaceComparable<PythonNumber>
-
computeHash
-