public class NonPositiveInteger extends BigInteger
Modifier and Type | Class and Description |
---|---|
protected static class |
NonPositiveInteger.BigIntegerRep |
ONE, TEN, ZERO
Constructor and Description |
---|
NonPositiveInteger(byte[] val) |
NonPositiveInteger(int signum,
byte[] magnitude) |
NonPositiveInteger(int bitLength,
int certainty,
Random rnd) |
NonPositiveInteger(int numBits,
Random rnd) |
NonPositiveInteger(String val) |
NonPositiveInteger(String val,
int radix) |
Modifier and Type | Method and Description |
---|---|
Object |
writeReplace()
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html
|
abs, add, and, andNot, bitCount, bitLength, clearBit, compareTo, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, isProbablePrime, longValue, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, signum, subtract, testBit, toByteArray, toString, toString, valueOf, xor
byteValue, shortValue
public NonPositiveInteger(byte[] val)
public NonPositiveInteger(int signum, byte[] magnitude)
public NonPositiveInteger(int bitLength, int certainty, Random rnd)
public NonPositiveInteger(int numBits, Random rnd)
public NonPositiveInteger(String val)
public NonPositiveInteger(String val, int radix)
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © The Apache Software Foundation. All Rights Reserved.