mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8224716: Javadoc of Int/Long/DoubleSummaryStatistics should mention possible overflow of count
Reviewed-by: bpb
This commit is contained in:
parent
16548883ec
commit
f853b31306
3 changed files with 7 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -59,6 +59,8 @@ import java.util.stream.DoubleStream;
|
|||
* implementation of {@link java.util.stream.Stream#collect Stream.collect()}
|
||||
* provides the necessary partitioning, isolation, and merging of results for
|
||||
* safe and efficient parallel execution.
|
||||
*
|
||||
* <p>This implementation does not check for overflow of the count.
|
||||
* @since 1.8
|
||||
*/
|
||||
public class DoubleSummaryStatistics implements DoubleConsumer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue