W3cubDocs

/Haxe Java

LongClass

package java.lang

extends Number

implements Comparable<Long>

import java.lang.Long

@:native("java.lang.Long") Available on java

Constructor

@:overload @:throws("java.lang.NumberFormatException") new (param1:String)

@:overload new (param1:Int64)

Methods

@:overload compareTo (param1:Dynamic):Int

@:overload compareTo (param1:Long):Int

@:overload equals (param1:Dynamic):Bool

@:overload hashCode ():Int

@:overload toString ():String

Static variables

@:final static read only MAX_VALUE:Int64

@:final static read only MIN_VALUE:Int64

@:final static read only SIZE:Int

@:final static TYPE:Class<Long>

Static methods

@:native("toString") @:overload static _toString (param1:Int64):String

@:native("toString") @:overload static toString (param1:Int64, param2:Int):String

@:overload static bitCount (param1:Int64):Int

@:overload static compare (param1:Int64, param2:Int64):Int

@:overload @:throws("java.lang.NumberFormatException") static decode (param1:String):Long

@:overload static getLong (param1:String, param2:Long):Long

@:overload static getLong (param1:String, param2:Int64):Long

@:overload static getLong (param1:String):Long

@:overload static highestOneBit (param1:Int64):Int64

@:overload static lowestOneBit (param1:Int64):Int64

@:overload static numberOfLeadingZeros (param1:Int64):Int

@:overload static numberOfTrailingZeros (param1:Int64):Int

@:overload @:throws("java.lang.NumberFormatException") static parseLong (param1:String):Int64

@:overload @:throws("java.lang.NumberFormatException") static parseLong (param1:String, param2:Int):Int64

@:overload static reverse (param1:Int64):Int64

@:overload static reverseBytes (param1:Int64):Int64

@:overload static rotateLeft (param1:Int64, param2:Int):Int64

@:overload static rotateRight (param1:Int64, param2:Int):Int64

@:overload static signum (param1:Int64):Int

@:overload static toBinaryString (param1:Int64):String

@:overload static toHexString (param1:Int64):String

@:overload static toOctalString (param1:Int64):String

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

@:overload @:throws("java.lang.NumberFormatException") static valueOf (param1:String):Long

@:overload @:throws("java.lang.NumberFormatException") static valueOf (param1:String, param2:Int):Long

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