C# Class Lucene.Net.RandomHelpers

Datei anzeigen Open project: apache/lucenenet

Public Methods

Method Description
nextBoolean ( this random ) : bool
nextFloat ( this random ) : float
nextInt ( this random ) : int
nextInt ( this random, int maxValue ) : int
nextLong ( this random ) : long

Method Details

nextBoolean() public static method

public static nextBoolean ( this random ) : bool
random this
return bool

nextFloat() public static method

public static nextFloat ( this random ) : float
random this
return float

nextInt() public static method

public static nextInt ( this random ) : int
random this
return int

nextInt() public static method

public static nextInt ( this random, int maxValue ) : int
random this
maxValue int
return int

nextLong() public static method

public static nextLong ( this random ) : long
random this
return long