Package coneforest.psylla.core
Interface PsyMultiplicative<T extends PsyMultiplicative>
- Type Parameters:
T
- a type of the second operand at binary operation.
- All Superinterfaces:
PsyConvertableToName
,PsyConvertableToString
,PsyObject
- All Known Subinterfaces:
PsyArithmetic<T>
,PsyIntegral
,PsyNumeric
,PsyRational
,PsyRealNumeric
- All Known Implementing Classes:
PsyBigFractional
,PsyBigInteger
,PsyComplex
,PsyFractional
,PsyInteger
,PsyReal
A representation of
multiplicative
, a type of object that is an
operand of multiplicative operation. This interface declares methods for
multiplication, division.-
Field Summary
Fields -
Method Summary
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Field Details
-
OPERATORS
-
-
Method Details
-
psyMul
Returns a result of arithmetic multiplication of given object by this object.- Parameters:
oArithmetic
- a given object.- Returns:
- a product.
-
psyDiv
Returns a result of arithmetic division of this object by given object.- Parameters:
oArithmetic
- a given object.- Returns:
- a fraction.
- Throws:
PsyUndefinedResultException
- when the result of division is not defined.
-