Skip to main content

Random

Geração de valores aleatórios.


init


_random.init() : java.util.Random

Description

Generates the all Random class.

Return

( java.util.Random )

Returns a class.


_random.init(seed: long) : java.util.Random

Description

Generates a random seed.

Attributes
NAMETYPEDESCRIPTION
seedlong
Return

( java.util.Random )

Returns a seed.


initSecure


_random.initSecure() : java.security.SecureRandom

Return

( java.security.SecureRandom )


_random.initSecure(seed: byte[]) : java.security.SecureRandom

Attributes
NAMETYPEDESCRIPTION
seedbyte[]
Return

( java.security.SecureRandom )


initString


_random.initString() : RandomString

Description

Generates a random text of 24 caracteres.

Return

( RandomString )

Returns a 24 characters random string.


_random.initString(length: int) : RandomString

Attributes
NAMETYPEDESCRIPTION
lengthint
Return

( RandomString )


_random.initString(length: int, symbols: string) : RandomString

Attributes
NAMETYPEDESCRIPTION
lengthint
symbolsstring
Return

( RandomString )


_random.initString(length: int, random: java.util.Random) : RandomString

Attributes
NAMETYPEDESCRIPTION
lengthint
randomjava.util.Random
Return

( RandomString )


_random.initString(length: int, random: java.util.Random, symbols: string) : RandomString

Attributes
NAMETYPEDESCRIPTION
lengthint
randomjava.util.Random
symbolsstring
Return

( RandomString )