28 |
|
|
29 |
import java.util.Random; |
import java.util.Random; |
30 |
|
|
31 |
|
import gnu.classpath.Configuration; |
32 |
|
|
33 |
public class BigInteger implements Comparable { |
public class BigInteger implements Comparable { |
34 |
final int native_state = System.identityHashCode(this); |
final int native_state = System.identityHashCode(this); |
35 |
|
|
36 |
public static final BigInteger ZERO; |
public static final BigInteger ZERO; |
37 |
public static final BigInteger ONE; |
public static final BigInteger ONE; |
38 |
|
|
39 |
static { |
static |
40 |
System.loadLibrary("bigint"); |
{ |
41 |
initNativeState(); |
if (Configuration.INIT_LOAD_LIBRARY) |
42 |
|
{ |
43 |
|
System.loadLibrary ("bigint"); |
44 |
|
initNativeState(); |
45 |
|
} |
46 |
ZERO = new BigInteger(); |
ZERO = new BigInteger(); |
47 |
ONE = new BigInteger(1L); |
ONE = new BigInteger(1L); |
48 |
} |
} |