Mercurial > projects > dwt2
view base/src/java/math/BigInteger.d @ 82:b2d6122fa189
Added base classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 14 Apr 2009 12:11:09 +0200 |
parents | |
children | 48d4ee626868 |
line wrap: on
line source
module java.math.BigInteger; import java.lang.all; import java.util.Random; class BigInteger : Number { static BigInteger ONE; static BigInteger ZERO; this(byte[] val){ implMissing(__FILE__, __LINE__ ); } this(int signum, byte[] magnitude){ implMissing(__FILE__, __LINE__ ); } this(int bitLength, int certainty, Random rnd){ implMissing(__FILE__, __LINE__ ); } this(int numBits, Random rnd){ implMissing(__FILE__, __LINE__ ); } this(String val){ implMissing(__FILE__, __LINE__ ); } this(String val, int radix){ implMissing(__FILE__, __LINE__ ); } BigInteger abs(){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger add(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger and(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger andNot(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } int bitCount(){ implMissing(__FILE__, __LINE__ ); return 0; } int bitLength(){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger clearBit(int n){ implMissing(__FILE__, __LINE__ ); return null; } int compareTo(BigInteger val){ implMissing(__FILE__, __LINE__ ); return 0; } int compareTo(Object o){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger divide(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger[] divideAndRemainder(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } double doubleValue(){ implMissing(__FILE__, __LINE__ ); return 0; } bool equals(Object x){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger flipBit(int n){ implMissing(__FILE__, __LINE__ ); return null; } float floatValue(){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger gcd(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } int getLowestSetBit(){ implMissing(__FILE__, __LINE__ ); return 0; } int hashCode(){ implMissing(__FILE__, __LINE__ ); return 0; } int intValue(){ implMissing(__FILE__, __LINE__ ); return 0; } bool isProbablePrime(int certainty){ implMissing(__FILE__, __LINE__ ); return 0; } long longValue(){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger max(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger min(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger mod(BigInteger m){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger modInverse(BigInteger m){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger modPow(BigInteger exponent, BigInteger m){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger multiply(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger negate(){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger not(){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger or(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger pow(int exponent){ implMissing(__FILE__, __LINE__ ); return null; } static BigInteger probablePrime(int bitLength, Random rnd){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger remainder(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger setBit(int n){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger shiftLeft(int n){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger shiftRight(int n){ implMissing(__FILE__, __LINE__ ); return null; } int signum(){ implMissing(__FILE__, __LINE__ ); return 0; } BigInteger subtract(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } bool testBit(int n){ implMissing(__FILE__, __LINE__ ); return 0; } byte[] toByteArray(){ implMissing(__FILE__, __LINE__ ); return null; } String toString(){ implMissing(__FILE__, __LINE__ ); return null; } String toString(int radix){ implMissing(__FILE__, __LINE__ ); return null; } static BigInteger valueOf(long val){ implMissing(__FILE__, __LINE__ ); return null; } BigInteger xor(BigInteger val){ implMissing(__FILE__, __LINE__ ); return null; } }