org.zkoss.math
Class BigIntegers

java.lang.Object
  extended by org.zkoss.math.BigIntegers

public class BigIntegers
extends java.lang.Object

BigInteger utilities.

Author:
tomyeh

Field Summary
static java.math.BigInteger ZERO
          Represents 0 in big integer.
 
Constructor Summary
BigIntegers()
           
 
Method Summary
static java.math.BigInteger toBigInteger(byte v)
          Converts a byte to a big integer.
static java.math.BigInteger toBigInteger(java.lang.Byte v)
          Converts a byte to a big integer.
static java.math.BigInteger toBigInteger(int v)
          Converts an integer to a big integer.
static java.math.BigInteger toBigInteger(java.lang.Integer v)
          Converts an integer to a big integer.
static java.math.BigInteger toBigInteger(long v)
          Converts a long to a big integer.
static java.math.BigInteger toBigInteger(java.lang.Long v)
          Converts a long to a big integer.
static java.math.BigInteger toBigInteger(short v)
          Converts a short to a big integer.
static java.math.BigInteger toBigInteger(java.lang.Short v)
          Converts a short to a big integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZERO

public static final java.math.BigInteger ZERO
Represents 0 in big integer.

Constructor Detail

BigIntegers

public BigIntegers()
Method Detail

toBigInteger

public static final java.math.BigInteger toBigInteger(int v)
Converts an integer to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(long v)
Converts a long to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(short v)
Converts a short to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(byte v)
Converts a byte to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(java.lang.Integer v)
Converts an integer to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(java.lang.Long v)
Converts a long to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(java.lang.Short v)
Converts a short to a big integer.


toBigInteger

public static final java.math.BigInteger toBigInteger(java.lang.Byte v)
Converts a byte to a big integer.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo