Package org.eclipse.net4j.util.security
Interface IRandomizer
- All Known Implementing Classes:
Randomizer
public interface IRandomizer
- Author:
- Eike Stepper
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
generateSeed
(int numBytes) boolean
void
nextBytes
(byte[] bytes) double
float
double
int
nextInt()
int
nextInt
(int n) long
nextLong()
nextString
(int length, String alphabet)
-
Method Details
-
generateSeed
byte[] generateSeed(int numBytes) -
nextBoolean
boolean nextBoolean() -
nextDouble
double nextDouble() -
nextFloat
float nextFloat() -
nextGaussian
double nextGaussian() -
nextInt
int nextInt() -
nextInt
int nextInt(int n) -
nextLong
long nextLong() -
nextBytes
void nextBytes(byte[] bytes) -
nextString
-