public static String stringFor(int n)
    {
        switch (n)
        {
            case CURAND_RNG_TEST: return "CURAND_RNG_TEST";
            case CURAND_RNG_PSEUDO_DEFAULT: return "CURAND_RNG_PSEUDO_DEFAULT";
            case CURAND_RNG_PSEUDO_XORWOW: return "CURAND_RNG_PSEUDO_XORWOW";
            case CURAND_RNG_PSEUDO_MRG32K3A: return "CURAND_RNG_PSEUDO_MRG32K3A";
            case CURAND_RNG_PSEUDO_MTGP32: return "CURAND_RNG_PSEUDO_MTGP32";
            case CURAND_RNG_PSEUDO_MT19937: return "CURAND_RNG_PSEUDO_MT19937";
            case CURAND_RNG_QUASI_DEFAULT: return "CURAND_RNG_QUASI_DEFAULT";
            case CURAND_RNG_QUASI_SOBOL32: return "CURAND_RNG_QUASI_SOBOL32";
            case CURAND_RNG_QUASI_SCRAMBLED_SOBOL32: return "CURAND_RNG_QUASI_SCRAMBLED_SOBOL32";
            case CURAND_RNG_QUASI_SOBOL64: return "CURAND_RNG_QUASI_SOBOL64";
            case CURAND_RNG_QUASI_SCRAMBLED_SOBOL64: return "CURAND_RNG_QUASI_SCRAMBLED_SOBOL64";
        }
        return "INVALID curandRngType";
    }
public static String stringFor ( int n ) { switch ( n ) { case CURAND_RNG_TEST : return "CURAND_RNG_TEST" ; case CURAND_RNG_PSEUDO_DEFAULT : return "CURAND_RNG_PSEUDO_DEFAULT" ; case CURAND_RNG_PSEUDO_XORWOW : return "CURAND_RNG_PSEUDO_XORWOW" ; case CURAND_RNG_PSEUDO_MRG32K3A : return "CURAND_RNG_PSEUDO_MRG32K3A" ; case CURAND_RNG_PSEUDO_MTGP32 : return "CURAND_RNG_PSEUDO_MTGP32" ; case CURAND_RNG_PSEUDO_MT19937 : return "CURAND_RNG_PSEUDO_MT19937" ; case CURAND_RNG_QUASI_DEFAULT : return "CURAND_RNG_QUASI_DEFAULT" ; case CURAND_RNG_QUASI_SOBOL32 : return "CURAND_RNG_QUASI_SOBOL32" ; case CURAND_RNG_QUASI_SCRAMBLED_SOBOL32 : return "CURAND_RNG_QUASI_SCRAMBLED_SOBOL32" ; case CURAND_RNG_QUASI_SOBOL64 : return "CURAND_RNG_QUASI_SOBOL64" ; case CURAND_RNG_QUASI_SCRAMBLED_SOBOL64 : return "CURAND_RNG_QUASI_SCRAMBLED_SOBOL64" ; } return "INVALID curandRngType" ; }
Returns a string representation of the given constant

@return A string representation of the given constant