org.codehaus.groovy.runtime
Class BigIntegerMath
java.lang.Object
org.codehaus.groovy.runtime.NumberMath
org.codehaus.groovy.runtime.BigIntegerMath
- public class BigIntegerMath
- extends NumberMath
BigInteger NumberMath operations
- Author:
- Steve Goetze
Methods inherited from class org.codehaus.groovy.runtime.NumberMath |
abs, add, and, compareTo, createUnsupportedException, divide, intdiv, isBigDecimal, isBigInteger, isFloatingPoint, isInteger, isLong, leftShift, leftShiftImpl, mod, multiply, negate, or, rightShift, rightShiftImpl, rightShiftUnsigned, rightShiftUnsignedImpl, subtract, toBigDecimal, toBigInteger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static BigIntegerMath instance
absImpl
protected Number absImpl(Number number)
- Specified by:
absImpl
in class NumberMath
addImpl
protected Number addImpl(Number left,
Number right)
- Specified by:
addImpl
in class NumberMath
subtractImpl
protected Number subtractImpl(Number left,
Number right)
- Specified by:
subtractImpl
in class NumberMath
multiplyImpl
protected Number multiplyImpl(Number left,
Number right)
- Specified by:
multiplyImpl
in class NumberMath
divideImpl
protected Number divideImpl(Number left,
Number right)
- Specified by:
divideImpl
in class NumberMath
compareToImpl
protected int compareToImpl(Number left,
Number right)
- Specified by:
compareToImpl
in class NumberMath
andImpl
protected Number andImpl(Number left,
Number right)
- Overrides:
andImpl
in class NumberMath
intdivImpl
protected Number intdivImpl(Number left,
Number right)
- Overrides:
intdivImpl
in class NumberMath
modImpl
protected Number modImpl(Number left,
Number right)
- Overrides:
modImpl
in class NumberMath
negateImpl
protected Number negateImpl(Number left)
- Specified by:
negateImpl
in class NumberMath
orImpl
protected Number orImpl(Number left,
Number right)
- Overrides:
orImpl
in class NumberMath
Copyright © 2003-2004 The Codehaus. All Rights Reserved.