- All Known Implementing Classes:
DefaultUIntGenerator
public interface RandomUIntGenerator
Configuration information for generating random numbers for password creation
-
Method Summary
Modifier and TypeMethodDescriptionintgetNextUInt(int max) Generate a random integer between 0 andmax(not included).random()Returns ajava.util.Randomobject used to reorder the characters composing a password.
-
Method Details
-
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:
-
random
Random random()Returns ajava.util.Randomobject used to reorder the characters composing a password.- Returns:
- a
java.util.Randomobject - See Also:
-