nextLong() public method

public nextLong ( ) : long
return long
コード例 #1
0
ファイル: SupportClass.cs プロジェクト: geckosoft/Crafty
    /*******************************/

    /// <summary>
    /// Creates a new positive random number
    /// </summary>
    /// <param name="random">The last random obtained</param>
    /// <returns>Returns a new positive random number</returns>
    public static long NextLong(Random random)
    {
        return(random.nextLong());
    }