Mercurial > hg > openjdk > lambda > jdk
changeset 9540:82e4ef346a7c
Doc updates.
author | psandoz |
---|---|
date | Mon, 19 Aug 2013 11:42:22 +0200 |
parents | b96a8477538a |
children | 7121db44533b |
files | src/share/classes/java/util/SplittableRandom.java |
diffstat | 1 files changed, 16 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/util/SplittableRandom.java Mon Aug 19 10:48:57 2013 +0200 +++ b/src/share/classes/java/util/SplittableRandom.java Mon Aug 19 11:42:22 2013 +0200 @@ -594,8 +594,8 @@ /** * Returns a stream producing the given {@code streamSize} number - * of pseudorandom {@code int} values, each conforming to the - * given origin and bound. + * of pseudorandom {@code int} values from this generator and/or one split + * from it; each value conforms to the given origin and bound. * * @param streamSize the number of values to generate * @param randomNumberOrigin the origin of each random value @@ -620,7 +620,8 @@ /** * Returns an effectively unlimited stream of pseudorandom {@code - * int} values, each conforming to the given origin and bound. + * int} values from this generator and/or one split from it; each value + * conforms to the given origin and bound. * * @implNote This method is implemented to be equivalent to {@code * ints(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. @@ -678,8 +679,8 @@ /** * Returns a stream producing the given {@code streamSize} number of - * pseudorandom {@code long} values, each conforming to the - * given origin and bound. + * pseudorandom {@code long} values from this generator and/or one split + * from it; each value conforms to the given origin and bound. * * @param streamSize the number of values to generate * @param randomNumberOrigin the origin of each random value @@ -704,7 +705,8 @@ /** * Returns an effectively unlimited stream of pseudorandom {@code - * long} values, each conforming to the given origin and bound. + * long} values from this generator and/or one split from it; each value + * conforms to the given origin and bound. * * @implNote This method is implemented to be equivalent to {@code * longs(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. @@ -727,8 +729,8 @@ /** * Returns a stream producing the given {@code streamSize} number of - * pseudorandom {@code double} values, each between zero - * (inclusive) and one (exclusive). + * pseudorandom {@code double} values from this generator and/or one split + * from it; each value is between zero (inclusive) and one (exclusive). * * @param streamSize the number of values to generate * @return a stream of {@code double} values @@ -746,8 +748,8 @@ /** * Returns an effectively unlimited stream of pseudorandom {@code - * double} values, each between zero (inclusive) and one - * (exclusive). + * double} values from this generator and/or one split from it; each value + * is between zero (inclusive) and one (exclusive). * * @implNote This method is implemented to be equivalent to {@code * doubles(Long.MAX_VALUE)}. @@ -763,8 +765,8 @@ /** * Returns a stream producing the given {@code streamSize} number of - * pseudorandom {@code double} values, each conforming to the - * given origin and bound. + * pseudorandom {@code double} values from this generator and/or one split + * from it; each value conforms to the given origin and bound. * * @param streamSize the number of values to generate * @param randomNumberOrigin the origin of each random value @@ -790,7 +792,8 @@ /** * Returns an effectively unlimited stream of pseudorandom {@code - * double} values, each conforming to the given origin and bound. + * double} values from this generator and/or one split from it; each value + * conforms to the given origin and bound. * * @implNote This method is implemented to be equivalent to {@code * doubles(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}.