Random


Object Hierarchy:

Object hierarchy for Random

Description:

public class Random : Object

Static utility methods for random values.

Provides convenience generators for primitive random values and helper operations such as in-place shuffle and random choice.

Example:

    var x = Random.nextIntRange (10, 20);
if (x.isOk ()) {
int n = x.unwrap ();
}


Namespace: Vala.Math
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object