peaklau.eaglefund
Class BigInteger
java.lang.Object
peaklau.eaglefund.BigInteger
public class BigInteger
- extends java.lang.Object
BigInteger class.
This class implements the big integer operation, eg: add, mul, div
- Version:
- $Revision: 1.2 $ $Date: 2007/10/21 14:26:24 $
- Author:
- peaklau
email:peaklau@hotmail.com
HomePage
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
n1
public long n1
n2
public long n2
n3
public long n3
n4
public long n4
n5
public long n5
plus
public boolean plus
BigInteger
public BigInteger(long n)
getValue
public long getValue()
add
public static BigInteger add(BigInteger a,
BigInteger b)
- add
- Parameters:
a
- b
-
- Returns:
mul
public static BigInteger mul(BigInteger a,
BigInteger b)
- mul
- Parameters:
a
- b
-
- Returns:
div
public static BigInteger div(BigInteger a,
BigInteger b)
- div
- Parameters:
a
- b
-
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2009 peaklau. All Rights Reserved.