clojure.lang
Class BigInt

java.lang.Object
  extended by java.lang.Number
      extended by clojure.lang.BigInt
All Implemented Interfaces:
java.io.Serializable

public final class BigInt
extends java.lang.Number

See Also:
Serialized Form

Field Summary
 java.math.BigInteger bipart
           
 long lpart
           
static BigInt ONE
           
static BigInt ZERO
           
 
Method Summary
 java.lang.Number add(BigInt y)
           
 int bitLength()
           
 byte byteValue()
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
           
 float floatValue()
           
static BigInt fromBigInteger(java.math.BigInteger val)
           
static BigInt fromLong(long val)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 boolean lt(BigInt y)
           
 java.lang.Number multiply(BigInt y)
           
 java.lang.Number quotient(BigInt y)
           
 java.lang.Number remainder(BigInt y)
           
 short shortValue()
           
 java.math.BigInteger toBigInteger()
           
 java.lang.String toString()
           
static BigInt valueOf(long val)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lpart

public final long lpart

bipart

public final java.math.BigInteger bipart

ZERO

public static final BigInt ZERO

ONE

public static final BigInt ONE
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

fromBigInteger

public static BigInt fromBigInteger(java.math.BigInteger val)

fromLong

public static BigInt fromLong(long val)

toBigInteger

public java.math.BigInteger toBigInteger()

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

valueOf

public static BigInt valueOf(long val)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

bitLength

public int bitLength()

add

public java.lang.Number add(BigInt y)

multiply

public java.lang.Number multiply(BigInt y)

quotient

public java.lang.Number quotient(BigInt y)

remainder

public java.lang.Number remainder(BigInt y)

lt

public boolean lt(BigInt y)


Copyright © 2011. All Rights Reserved.