Packagecom.yworks.bridge.util
Classpublic class BigInteger
InheritanceBigInteger Inheritance YObject Inheritance Object
Implements Comparable



Public Properties
 PropertyDefined By
  lowestSetBit : int
[read-only]
BigInteger
Public Methods
 MethodDefined By
  
BigInteger(init:Boolean = true)
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
bitCount():int
BigInteger
  
bitLength():int
BigInteger
  
byteValue():int
BigInteger
  
BigInteger
  
compareTo(o:Object):int
BigInteger
  
BigInteger
  
divideAndRemainder(divisor:BigInteger):Vector.<Object>
BigInteger
  
doubleValue():Number
BigInteger
  
equals(x:Object):Boolean
[override]
BigInteger
  
BigInteger
  
floatValue():Number
BigInteger
  
BigInteger
  
getClass():Class
[override]
BigInteger
  
hashCode():int
[override]
BigInteger
  
intValue():int
BigInteger
  
isProbablePrime(certainty:int):Boolean
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
newBigInteger1(val:Vector.<int>):BigInteger
[static]
BigInteger
  
[static]
BigInteger
  
newBigInteger3(signum:int, magnitude:Vector.<int>):BigInteger
[static]
BigInteger
  
newBigInteger4(numBits:int, rnd:Random):BigInteger
[static]
BigInteger
  
newBigInteger5(val:String, radix:int):BigInteger
[static]
BigInteger
  
newBigInteger6(bitLength:int, certainty:int, rnd:Random):BigInteger
[static]
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
pow(exp:int):BigInteger
BigInteger
  
probablePrime(bitLength:int, rnd:Random):BigInteger
[static]
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
BigInteger
  
signum():int
BigInteger
  
BigInteger
  
testBit(n:int):Boolean
BigInteger
  
toBaseString(radix:int):String
BigInteger
  
toByteArray():Vector.<int>
BigInteger
  
toString():String
BigInteger
  
[static]
BigInteger
  
BigInteger
Protected Methods
 MethodDefined By
  
initBigInteger1(val:Vector.<int>):void
Initializes this object.
BigInteger
  
initBigInteger2(val:String):void
Initializes this object.
BigInteger
  
initBigInteger3(signum:int, magnitude:Vector.<int>):void
Initializes this object.
BigInteger
  
initBigInteger4(numBits:int, rnd:Random):void
Initializes this object.
BigInteger
  
initBigInteger5(val:String, radix:int):void
Initializes this object.
BigInteger
  
initBigInteger6(bitLength:int, certainty:int, rnd:Random):void
Initializes this object.
BigInteger
Public Constants
 ConstantDefined By
  ONE : BigInteger
[static]
BigInteger
  TEN : BigInteger
[static]
BigInteger
  ZERO : BigInteger
[static]
BigInteger
Property Detail
lowestSetBitproperty
lowestSetBit:int  [read-only]


Implementation
    public function get lowestSetBit():int
Constructor Detail
BigInteger()Constructor
public function BigInteger(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
abs()method
public function abs():BigInteger

Returns
BigInteger
add()method 
public function add(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
and()method 
public function and(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
andNot()method 
public function andNot(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
bitCount()method 
public function bitCount():int

Returns
int
bitLength()method 
public function bitLength():int

Returns
int
byteValue()method 
public function byteValue():int

Returns
int
clearBit()method 
public function clearBit(n:int):BigInteger

Parameters

n:int

Returns
BigInteger
compareTo()method 
public function compareTo(o:Object):int

Parameters

o:Object

Returns
int
divide()method 
public function divide(divisor:BigInteger):BigInteger

Parameters

divisor:BigInteger

Returns
BigInteger
divideAndRemainder()method 
public function divideAndRemainder(divisor:BigInteger):Vector.<Object>

Parameters

divisor:BigInteger

Returns
Vector.<Object>
doubleValue()method 
public function doubleValue():Number

Returns
Number
equals()method 
override public function equals(x:Object):Boolean

Parameters

x:Object

Returns
Boolean
flipBit()method 
public function flipBit(n:int):BigInteger

Parameters

n:int

Returns
BigInteger
floatValue()method 
public function floatValue():Number

Returns
Number
gcd()method 
public function gcd(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
getClass()method 
override public function getClass():Class

Returns
Class
hashCode()method 
override public function hashCode():int

Returns
int
initBigInteger1()method 
protected final function initBigInteger1(val:Vector.<int>):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger1() for details.

Parameters

val:Vector.<int>

See also

initBigInteger2()method 
protected final function initBigInteger2(val:String):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger2() for details.

Parameters

val:String

See also

initBigInteger3()method 
protected final function initBigInteger3(signum:int, magnitude:Vector.<int>):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger3() for details.

Parameters

signum:int
 
magnitude:Vector.<int>

See also

initBigInteger4()method 
protected final function initBigInteger4(numBits:int, rnd:Random):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger4() for details.

Parameters

numBits:int
 
rnd:Random

See also

initBigInteger5()method 
protected final function initBigInteger5(val:String, radix:int):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger5() for details.

Parameters

val:String
 
radix:int

See also

initBigInteger6()method 
protected final function initBigInteger6(bitLength:int, certainty:int, rnd:Random):void

Initializes this object. See the documentation of the corresponding factory method newBigInteger6() for details.

Parameters

bitLength:int
 
certainty:int
 
rnd:Random

See also

intValue()method 
public function intValue():int

Returns
int
isProbablePrime()method 
public function isProbablePrime(certainty:int):Boolean

Parameters

certainty:int

Returns
Boolean
longValue()method 
public function longValue():LongImpl

Returns
LongImpl
max()method 
public function max(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
min()method 
public function min(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
mod()method 
public function mod(m:BigInteger):BigInteger

Parameters

m:BigInteger

Returns
BigInteger
modInverse()method 
public function modInverse(m:BigInteger):BigInteger

Parameters

m:BigInteger

Returns
BigInteger
modPow()method 
public function modPow(exponent:BigInteger, m:BigInteger):BigInteger

Parameters

exponent:BigInteger
 
m:BigInteger

Returns
BigInteger
multiply()method 
public function multiply(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
negate()method 
public function negate():BigInteger

Returns
BigInteger
newBigInteger1()method 
public static function newBigInteger1(val:Vector.<int>):BigInteger

Parameters

val:Vector.<int>

Returns
BigInteger
newBigInteger2()method 
public static function newBigInteger2(val:String):BigInteger

Parameters

val:String

Returns
BigInteger
newBigInteger3()method 
public static function newBigInteger3(signum:int, magnitude:Vector.<int>):BigInteger

Parameters

signum:int
 
magnitude:Vector.<int>

Returns
BigInteger
newBigInteger4()method 
public static function newBigInteger4(numBits:int, rnd:Random):BigInteger

Parameters

numBits:int
 
rnd:Random

Returns
BigInteger
newBigInteger5()method 
public static function newBigInteger5(val:String, radix:int):BigInteger

Parameters

val:String
 
radix:int

Returns
BigInteger
newBigInteger6()method 
public static function newBigInteger6(bitLength:int, certainty:int, rnd:Random):BigInteger

Parameters

bitLength:int
 
certainty:int
 
rnd:Random

Returns
BigInteger
nextProbablePrime()method 
public function nextProbablePrime():BigInteger

Returns
BigInteger
not()method 
public function not():BigInteger

Returns
BigInteger
or()method 
public function or(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
pow()method 
public function pow(exp:int):BigInteger

Parameters

exp:int

Returns
BigInteger
probablePrime()method 
public static function probablePrime(bitLength:int, rnd:Random):BigInteger

Parameters

bitLength:int
 
rnd:Random

Returns
BigInteger
remainder()method 
public function remainder(divisor:BigInteger):BigInteger

Parameters

divisor:BigInteger

Returns
BigInteger
setBit()method 
public function setBit(n:int):BigInteger

Parameters

n:int

Returns
BigInteger
shiftLeft()method 
public function shiftLeft(n:int):BigInteger

Parameters

n:int

Returns
BigInteger
shiftRight()method 
public function shiftRight(n:int):BigInteger

Parameters

n:int

Returns
BigInteger
shortValue()method 
public function shortValue():int

Returns
int
signum()method 
public function signum():int

Returns
int
subtract()method 
public function subtract(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
testBit()method 
public function testBit(n:int):Boolean

Parameters

n:int

Returns
Boolean
toBaseString()method 
public function toBaseString(radix:int):String

Parameters

radix:int

Returns
String
toByteArray()method 
public function toByteArray():Vector.<int>

Returns
Vector.<int>
toString()method 
public function toString():String

Returns
String
valueOf()method 
public static function valueOf(val:LongImpl):BigInteger

Parameters

val:LongImpl

Returns
BigInteger
xor()method 
public function xor(val:BigInteger):BigInteger

Parameters

val:BigInteger

Returns
BigInteger
Constant Detail
ONEConstant
public static const ONE:BigInteger

TENConstant 
public static const TEN:BigInteger

ZEROConstant 
public static const ZERO:BigInteger