Package components.random
Class Random1L
java.lang.Object
components.random.Random1L
- All Implemented Interfaces:
Random
Random
represented as a java.util.Random
with implementations of all methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
Returns the first real inthis
.final int
nextInt()
Returns an integer in the [Integer.MIN_VALUE,Integer.MAX_VALUE] interval computed from the first double inthis
.
-
Constructor Details
-
Random1L
public Random1L()
-
-
Method Details
-
nextDouble
Description copied from interface:Random
Returns the first real inthis
.- Specified by:
nextDouble
in interfaceRandom
- Returns:
- the first real in
this
-
nextInt
Description copied from interface:Random
Returns an integer in the [Integer.MIN_VALUE,Integer.MAX_VALUE] interval computed from the first double inthis
.
-