Thread-safe class providing access to a single FMLiveSwitchLockedRandomizerRandomizer. More...
Class Methods | |
| (int) | + next |
| Returns a nonnegative random number. More... | |
| (void) | + nextBytesWithBuffer: |
| Fills the elements of a specified array of bytes with random numbers. More... | |
| (double) | + nextDouble |
| Returns a random number between 0.0 and 1.0. More... | |
| (long long) | + nextLong |
| Returns a nonnegative random number. More... | |
| (int) | + nextWithMaxValue: |
| Returns a nonnegative random number less than the specified maximum. More... | |
| (int) | + nextWithMinValue:maxValue: |
| Returns a random number within a specified range. More... | |
| (NSString *) | + randomStringWithSize: |
| Generates a random string of a specified size. More... | |
Thread-safe class providing access to a single FMLiveSwitchLockedRandomizerRandomizer.
| + (int) next |
Returns a nonnegative random number.
| + (void) nextBytesWithBuffer: | (NSMutableData *) | buffer |
Fills the elements of a specified array of bytes with random numbers.
| buffer | The array of bytes to fill. |
| + (double) nextDouble |
Returns a random number between 0.0 and 1.0.
| + (long long) nextLong |
Returns a nonnegative random number.
| + (int) nextWithMaxValue: | (int) | maxValue |
Returns a nonnegative random number less than the specified maximum.
| maxValue | The maximum value (exclusive). |
| + (int) nextWithMinValue: | (int) | minValue | |
| maxValue: | (int) | maxValue | |
Returns a random number within a specified range.
| minValue | The minimum value (inclusive). |
| maxValue | The maximum value (exclusive). |
| + (NSString*) randomStringWithSize: | (int) | size |
Generates a random string of a specified size.
| size | The size of the output string. |