February 2014
Beginner
1248 pages
62h 25m
English
• Class SecureRandom’s methods ints (p. 762), longs and doubles (inherited from class Random) return IntStream, LongStream and DoubleStream, respectively, for streams of random numbers.
• Method ints with no arguments creates an IntStream for an infinite stream (p. 762) of random int values. An infinite stream is a stream with an unknown number of elements—you use a short-circuiting terminal operation to complete processing on an infinite stream.
• Method ints with a long argument creates an IntStream with the specified number of random int values.
• Method ints with two int arguments creates an IntStream for an infinite stream of random int values in the range starting with the first argument ...
Read now
Unlock full access