Class IntegerMath
java.lang.Object
org.codehaus.groovy.runtime.typehandling.NumberMath
org.codehaus.groovy.runtime.typehandling.IntegerMath
Integer NumberMath operations
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionprotected Numberprotected Numberprotected NumberbitwiseNegateImpl(Number left) intcompareToImpl(Number left, Number right) divideImpl(Number left, Number right) protected NumberintdivImpl(Number left, Number right) protected NumberleftShiftImpl(Number left, Number right) protected NumbermultiplyImpl(Number left, Number right) protected Numberprotected NumberrightShiftImpl(Number left, Number right) protected NumberrightShiftUnsignedImpl(Number left, Number right) subtractImpl(Number left, Number right) protected NumberunaryMinusImpl(Number left) protected NumberunaryPlusImpl(Number left) protected NumberMethods inherited from class org.codehaus.groovy.runtime.typehandling.NumberMathabs, add, and, bitwiseNegate, compareTo, createUnsupportedException, divide, getMath, intdiv, isBigDecimal, isBigInteger, isByte, isFloatingPoint, isInteger, isLong, isShort, leftShift, mod, multiply, or, rightShift, rightShiftUnsigned, subtract, toBigDecimal, toBigInteger, unaryMinus, unaryPlus, xor
- 
Field Details- 
INSTANCE
 
- 
- 
Method Details- 
absImpl- Specified by:
- absImplin class- NumberMath
 
- 
addImpl- Specified by:
- addImplin class- NumberMath
 
- 
subtractImpl- Specified by:
- subtractImplin class- NumberMath
 
- 
multiplyImpl- Specified by:
- multiplyImplin class- NumberMath
 
- 
divideImpl- Specified by:
- divideImplin class- NumberMath
 
- 
compareToImpl- Specified by:
- compareToImplin class- NumberMath
 
- 
orImpl- Overrides:
- orImplin class- NumberMath
 
- 
andImpl- Overrides:
- andImplin class- NumberMath
 
- 
xorImpl- Overrides:
- xorImplin class- NumberMath
 
- 
intdivImpl- Overrides:
- intdivImplin class- NumberMath
 
- 
modImpl- Overrides:
- modImplin class- NumberMath
 
- 
unaryMinusImpl- Specified by:
- unaryMinusImplin class- NumberMath
 
- 
unaryPlusImpl- Specified by:
- unaryPlusImplin class- NumberMath
 
- 
bitwiseNegateImpl- Overrides:
- bitwiseNegateImplin class- NumberMath
 
- 
leftShiftImpl- Overrides:
- leftShiftImplin class- NumberMath
 
- 
rightShiftImpl- Overrides:
- rightShiftImplin class- NumberMath
 
- 
rightShiftUnsignedImpl- Overrides:
- rightShiftUnsignedImplin class- NumberMath
 
 
-