org.apache.pig.builtin
Class BigIntegerWrapper
java.lang.Object
java.lang.Number
java.math.BigInteger
org.apache.pig.builtin.BigIntegerWrapper
- All Implemented Interfaces:
- Serializable, Comparable<BigInteger>
public class BigIntegerWrapper
- extends BigInteger
Max and min seeds cannot be defined to BigInteger as the value could go as large as
The computer allows. This wrapper is used to provide seed for MIN and MAX functions
in AlgrebraicBigIntegerMathBase.java
- See Also:
- Serialized Form
Methods inherited from class java.math.BigInteger |
abs, add, and, andNot, bitCount, bitLength, clearBit, 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 |
BigIntegerWrapper
public BigIntegerWrapper(byte[] val)
BigIntegerWrapper
public BigIntegerWrapper(int signum,
byte[] magnitude)
BigIntegerWrapper
public BigIntegerWrapper(int bitLength,
int certainty,
Random rnd)
BigIntegerWrapper
public BigIntegerWrapper(int numBits,
Random rnd)
BigIntegerWrapper
public BigIntegerWrapper(String val)
BigIntegerWrapper
public BigIntegerWrapper(String val,
int radix)
isPositiveInfinity
public boolean isPositiveInfinity()
isNegativeInfinity
public boolean isNegativeInfinity()
NEGATIVE_INFINITY
public static BigIntegerWrapper NEGATIVE_INFINITY()
POSITIVE_INFINITY
public static BigIntegerWrapper POSITIVE_INFINITY()
Copyright © 2007-2012 The Apache Software Foundation