Class PythonDecimal
java.lang.Object
ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
ai.timefold.jpyinterpreter.types.numeric.PythonDecimal
- All Implemented Interfaces:
PythonLikeObject,PythonNumber,PythonLikeComparable<PythonNumber>,PlanningImmutable,Comparable<PythonNumber>
public class PythonDecimal
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 TypeMethodDescription$method$__add__(PythonDecimal other) $method$__add__(PythonInteger other) $method$__eq__(PythonDecimal other) $method$__eq__(PythonFloat other) $method$__eq__(PythonInteger other) $method$__ge__(PythonDecimal other) $method$__ge__(PythonFloat other) $method$__ge__(PythonInteger other) $method$__gt__(PythonDecimal other) $method$__gt__(PythonFloat other) $method$__gt__(PythonInteger other) $method$__le__(PythonDecimal other) $method$__le__(PythonFloat other) $method$__le__(PythonInteger other) $method$__lt__(PythonDecimal other) $method$__lt__(PythonFloat other) $method$__lt__(PythonInteger other) $method$__mod__(PythonDecimal other) $method$__mod__(PythonInteger other) $method$__mul__(PythonDecimal other) $method$__mul__(PythonInteger other) $method$__neq__(PythonDecimal other) $method$__neq__(PythonFloat other) $method$__neq__(PythonInteger other) $method$__pow__(PythonDecimal other) $method$__pow__(PythonInteger other) $method$__radd__(PythonInteger other) $method$__rmod__(PythonInteger other) $method$__rmul__(PythonInteger other) $method$__round__(PythonLikeObject maybePrecision) $method$__rpow__(PythonInteger other) $method$__rsub__(PythonInteger other) $method$__sub__(PythonDecimal other) $method$__sub__(PythonInteger other) $method$__truediv__(PythonDecimal other) $method$__truediv__(PythonInteger other) $method$compare(PythonDecimal other) $method$copy_sign(PythonDecimal other) $method$fma(PythonDecimal multiplier, PythonDecimal summand) $method$fma(PythonDecimal multiplier, PythonInteger summand) $method$fma(PythonInteger multiplier, PythonDecimal summand) $method$fma(PythonInteger multiplier, PythonInteger summand) static PythonDecimal$method$from_float(PythonFloat value) $method$logical_and(PythonDecimal other) $method$logical_or(PythonDecimal other) $method$logical_xor(PythonDecimal other) $method$max(PythonDecimal other) $method$max_mag(PythonDecimal other) $method$min(PythonDecimal other) $method$min_mag(PythonDecimal other) $method$next_toward(PythonDecimal other) $method$quantize(PythonDecimal other) $method$rotate(PythonInteger other) $method$scaleb(PythonInteger other) $method$shift(PythonInteger other) booleanstatic PythonDecimalfrom(PythonLikeObject value) getValue()inthashCode()toString()static PythonDecimalvalueOf(PythonFloat value) static PythonDecimalvalueOf(PythonInteger value) static PythonDecimalvalueOf(PythonString value) static PythonDecimalMethods inherited from class ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
$deleteAttribute, $getAttributeOrNull, $getType, $setAttribute, getExtraAttributeMap, setAttributeMethods inherited from class java.lang.Object
clone, finalize, getClass, 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$__ne__, $method$__setattr__, $setAttributeMethods inherited from interface ai.timefold.jpyinterpreter.types.numeric.PythonNumber
compareTo
-
Field Details
-
value
-
-
Constructor Details
-
PythonDecimal
-
-
Method Details
-
from
-
$method$from_float
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
getValue
- Specified by:
getValuein interfacePythonNumber
-
$method$__str__
- Specified by:
$method$__str__in interfacePythonLikeObject
-
$method$__repr__
- Specified by:
$method$__repr__in interfacePythonLikeObject
-
toString
- Overrides:
toStringin classAbstractPythonLikeObject
-
equals
-
hashCode
public int hashCode() -
$method$__hash__
- Specified by:
$method$__hash__in interfacePythonLikeObject
-
$method$__bool__
-
$method$__int__
-
$method$__float__
-
$method$__pos__
-
$method$__neg__
-
$method$__abs__
-
$method$__lt__
-
$method$__lt__
-
$method$__lt__
-
$method$__le__
-
$method$__le__
-
$method$__le__
-
$method$__gt__
-
$method$__gt__
-
$method$__gt__
-
$method$__ge__
-
$method$__ge__
-
$method$__ge__
-
$method$__eq__
-
$method$__eq__
-
$method$__eq__
-
$method$__neq__
-
$method$__neq__
-
$method$__neq__
-
$method$__add__
-
$method$__add__
-
$method$__radd__
-
$method$__sub__
-
$method$__sub__
-
$method$__rsub__
-
$method$__mul__
-
$method$__mul__
-
$method$__rmul__
-
$method$__truediv__
-
$method$__truediv__
-
$method$__rtruediv__
-
$method$__floordiv__
-
$method$__floordiv__
-
$method$__rfloordiv__
-
$method$__mod__
-
$method$__mod__
-
$method$__rmod__
-
$method$__pow__
-
$method$__pow__
-
$method$__rpow__
-
$method$adjusted
-
$method$as_integer_ratio
-
$method$as_tuple
-
$method$canonical
-
$method$compare
-
$method$compare_signal
-
$method$compare_total
-
$method$compare_total_mag
-
$method$conjugate
-
$method$copy_abs
-
$method$copy_negate
-
$method$copy_sign
-
$method$exp
-
$method$fma
-
$method$fma
-
$method$fma
-
$method$fma
-
$method$is_canonical
-
$method$is_finite
-
$method$is_infinite
-
$method$is_nan
-
$method$is_normal
-
$method$is_qnan
-
$method$is_signed
-
$method$is_snan
-
$method$is_subnormal
-
$method$is_zero
-
$method$ln
-
$method$log10
-
$method$logb
-
$method$logical_and
-
$method$logical_or
-
$method$logical_xor
-
$method$logical_invert
-
$method$max
-
$method$max_mag
-
$method$min
-
$method$min_mag
-
$method$next_minus
-
$method$next_plus
-
$method$next_toward
-
$method$normalize
-
$method$number_class
-
$method$quantize
-
$method$radix
-
$method$remainder_near
-
$method$rotate
-
$method$same_quantum
-
$method$scaleb
-
$method$shift
-
$method$sqrt
-
$method$to_eng_string
-
$method$to_integral
-
$method$to_integral_exact
-
$method$to_integral_value
-
$method$__round__
-
$method$__round__
-