BigInteger.valueOf

BigInteger.valueOf

Class Overview | Class Members | This Package | All Packages

Syntax
public static BigInteger valueOf( long val )
Description
Returns a BigInteger with the specified value. This factory is provided in preference to a (long) constructor because it allows for reuse of frequently used BigIntegers (like 0 and 1), obviating the need for exported constants.