W3cubDocs

/Haxe Java

BigInteger

package java.math

extends Number

implements Comparable<BigInteger>

@:libType@:javaNative@:native("java.math.BigInteger")@:javaCanonical("java.math","BigInteger") Available on java

Constructor

@:overload new (param1:Int, param2:Int, param3:Random)

@:overload new (param1:NativeArray<Int8>)

@:overload new (param1:Int, param2:NativeArray<Int8>)

@:overload new (param1:String, param2:Int)

@:overload new (param1:String)

@:overload new (param1:Int, param2:Random)

Methods

@:overload abs ():BigInteger

@:overload add (param1:BigInteger):BigInteger

@:overload and (param1:BigInteger):BigInteger

@:overload andNot (param1:BigInteger):BigInteger

@:overload bitCount ():Int

@:overload bitLength ():Int

@:overload clearBit (param1:Int):BigInteger

@:overload compareTo (param1:Dynamic):Int

@:overload compareTo (param1:BigInteger):Int

@:overload divide (param1:BigInteger):BigInteger

@:overload divideAndRemainder (param1:BigInteger):NativeArray<BigInteger>

@:overload equals (param1:Dynamic):Bool

@:overload flipBit (param1:Int):BigInteger

@:overload gcd (param1:BigInteger):BigInteger

@:overload getLowestSetBit ():Int

@:overload hashCode ():Int

@:overload isProbablePrime (param1:Int):Bool

@:overload max (param1:BigInteger):BigInteger

@:overload min (param1:BigInteger):BigInteger

@:overload mod (param1:BigInteger):BigInteger

@:overload modInverse (param1:BigInteger):BigInteger

@:overload modPow (param1:BigInteger, param2:BigInteger):BigInteger

@:overload multiply (param1:BigInteger):BigInteger

@:overload negate ():BigInteger

@:overload nextProbablePrime ():BigInteger

@:overload not ():BigInteger

@:overload or (param1:BigInteger):BigInteger

@:overload pow (param1:Int):BigInteger

@:overload remainder (param1:BigInteger):BigInteger

@:overload setBit (param1:Int):BigInteger

@:overload shiftLeft (param1:Int):BigInteger

@:overload shiftRight (param1:Int):BigInteger

@:overload signum ():Int

@:overload subtract (param1:BigInteger):BigInteger

@:overload testBit (param1:Int):Bool

@:overload toByteArray ():NativeArray<Int8>

@:overload toString ():String

@:overload toString (param1:Int):String

@:overload xor (param1:BigInteger):BigInteger

Static variables

@:final static ONE:BigInteger

@:final static TEN:BigInteger

@:final static ZERO:BigInteger

Static methods

@:overload static probablePrime (param1:Int, param2:Random):BigInteger

@:overload static valueOf (param1:Int64):BigInteger

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/math/BigInteger.html