C# Class System.Collections.Generic.HashPrimeNumbers

显示文件 Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
CalcPrime ( int x ) : int
TestPrime ( int x ) : bool
ToPrime ( int x ) : int

Method Details

CalcPrime() public static method

public static CalcPrime ( int x ) : int
x int
return int

TestPrime() public static method

public static TestPrime ( int x ) : bool
x int
return bool

ToPrime() public static method

public static ToPrime ( int x ) : int
x int
return int