clojure.lang
Class BigInt

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

public final class BigInt
extends Number
implements IHashEq

See Also:
Serialized Form

Field Summary
 BigInteger bipart
           
 long lpart
           
static BigInt ONE
           
static BigInt ZERO
           
 
Method Summary
 BigInt add(BigInt y)
           
 int bitLength()
           
 byte byteValue()
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
static BigInt fromBigInteger(BigInteger val)
           
static BigInt fromLong(long val)
           
 int hashCode()
           
 int hasheq()
           
 int intValue()
           
 long longValue()
           
 boolean lt(BigInt y)
           
 BigInt multiply(BigInt y)
           
 BigInt quotient(BigInt y)
           
 BigInt remainder(BigInt y)
           
 short shortValue()
           
 BigDecimal toBigDecimal()
           
 BigInteger toBigInteger()
           
 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 BigInteger bipart

ZERO

public static final BigInt ZERO

ONE

public static final BigInt ONE
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasheq

public int hasheq()
Specified by:
hasheq in interface IHashEq

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

fromBigInteger

public static BigInt fromBigInteger(BigInteger val)

fromLong

public static BigInt fromLong(long val)

toBigInteger

public BigInteger toBigInteger()

toBigDecimal

public BigDecimal toBigDecimal()

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

shortValue

public short shortValue()
Overrides:
shortValue in class Number

valueOf

public static BigInt valueOf(long val)

toString

public String toString()
Overrides:
toString in class Object

bitLength

public int bitLength()

add

public BigInt add(BigInt y)

multiply

public BigInt multiply(BigInt y)

quotient

public BigInt quotient(BigInt y)

remainder

public BigInt remainder(BigInt y)

lt

public boolean lt(BigInt y)


Copyright © 2016. All Rights Reserved.