W3cubDocs

/Haxe Java

DoubleClass

package java.lang

extends Number

implements Comparable<Double>

import java.lang.Double

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

Constructor

@:overload new (param1:Float)

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

Methods

@:overload compareTo (param1:Double):Int

@:overload compareTo (param1:Dynamic):Int

@:overload equals (param1:Dynamic):Bool

@:overload hashCode ():Int

@:overload isInfinite ():Bool

@:overload isNaN ():Bool

@:overload toString ():String

Static variables

@:final static read only MAX_EXPONENT:Int

@:final static read only MAX_VALUE:Float

@:final static read only MIN_EXPONENT:Int

@:final static read only MIN_NORMAL:Float

@:final static read only MIN_VALUE:Float

@:final static read only NEGATIVE_INFINITY:Float

@:final static read only NaN:Float

@:final static read only POSITIVE_INFINITY:Float

@:final static read only SIZE:Int

@:final static TYPE:Class<Double>

Static methods

@:native("isInfinite") @:overload static _isInfinite (param1:Float):Bool

@:native("isNaN") @:overload static _isNaN (param1:Float):Bool

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

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

@:overload static doubleToLongBits (param1:Float):Int64

@:overload static doubleToRawLongBits (param1:Float):Int64

@:overload static longBitsToDouble (param1:Int64):Float

@:overload @:throws("java.lang.NumberFormatException") static parseDouble (param1:String):Float

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

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

@:overload static valueOf (param1:Float):Double

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