-
- All Known Implementing Classes:
DefaultUIntGenerator
public interface RandomUIntGeneratorConfiguration information for generating random numbers for password creation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNextUInt(int max)Generate a random integer between 0 andmax(not included).Randomrandom()Returns ajava.util.Randomobject used to reorder the characters composing a password.
-
-
-
Method Detail
-
getNextUInt
int getNextUInt(int max)
Generate a random integer between 0 andmax(not included).- Parameters:
max- the upper-bound (not included) of generated integers- Returns:
- a random integer between 0 and
max(not included) - See Also:
PasswordMaker.Factory.setRandomUIntGenerator(RandomUIntGenerator)
-
random
Random random()
Returns ajava.util.Randomobject used to reorder the characters composing a password.- Returns:
- a
java.util.Randomobject - See Also:
PasswordMaker.Factory.setRandomUIntGenerator(RandomUIntGenerator),PasswordMaker.create()
-
-