W3cubDocs

/Haxe Java

Random

package java.util

implements Serializable

Available on java

Constructor

new(param1:Int64)

new()

Methods

doubles(param1:Float, param2:Float):DoubleStream

doubles(param1:Int64):DoubleStream

doubles():DoubleStream

doubles(param1:Int64, param2:Float, param3:Float):DoubleStream

ints(param1:Int, param2:Int):IntStream

ints(param1:Int64):IntStream

ints():IntStream

ints(param1:Int64, param2:Int, param3:Int):IntStream

longs(param1:Int64, param2:Int64):LongStream

longs(param1:Int64):LongStream

longs():LongStream

longs(param1:Int64, param2:Int64, param3:Int64):LongStream

nextBoolean():Bool

nextBytes(param1:NativeArray<Int8>):Void

nextDouble():Float

nextFloat():Single

nextGaussian():Float

nextInt(param1:Int):Int

nextInt():Int

nextLong():Int64

setSeed(param1:Int64):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/Random.html