Interface PsyArithmetic<T extends PsyArithmetic<T>>
- Type Parameters:
T- a type of the second operand at binary operation.
- All Superinterfaces:
PsyAdditive<T>, PsyMultiplicative<T>, PsyObject
- All Known Subinterfaces:
PsyIntegral, PsyNumeric, PsyRational, PsyRealNumeric
- All Known Implementing Classes:
PsyBigFraction, PsyBigInteger, PsyComplex, PsyFraction, PsyInteger, PsyReal
@Type("arithmetic")
public interface PsyArithmetic<T extends PsyArithmetic<T>>
extends PsyAdditive<T>, PsyMultiplicative<T>
The representation of
arithmetic, a type of object that is an operand of arithmetic
operation. This interface declares methods for multiplication, division.-
Field Summary
Fields inherited from interface PsyAdditive
PSY_ADD, PSY_ISZERO, PSY_NEG, PSY_NONZERO, PSY_SUBFields inherited from interface PsyMultiplicative
PSY_DIV, PSY_MUL, PSY_RECIPROCALFields inherited from interface PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE -
Method Summary
Methods inherited from interface PsyAdditive
isZero, psyAdd, psyIsZero, psyNeg, psyNonZero, psySubMethods inherited from interface PsyMultiplicative
psyDiv, psyMul, psyReciprocalMethods inherited from interface PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName