Class SecureRandom
has overloaded methods ints
, longs
and doubles
, which it inherits from class Random
(package java.util
). These methods return an IntStream
, a LongStream
or a DoubleStream
, respectively, that represent streams of random numbers. Each method has four overloads. We describe the ints
overloads here—methods longs
and doubles
perform the same tasks for streams of long
and double
values, respectively:
ints()
—creates ...
Get Java How To Program, Late Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.