src/share/classes/java/util/stream/package-info.java
Print this page
rev 8940 : 8029696: Broken doc links to package-summary.html#NonInterference in java.util.stream
Reviewed-by: mduigou
*** 204,214 ****
* most cases must be <em>stateless</em>. Such parameters are always instances
* of a <a href="../function/package-summary.html">functional interface</a> such
* as {@link java.util.function.Function}, and are often lambda expressions or
* method references.
*
! * <h3><a name="Non-Interference">Non-interference</a></h3>
*
* Streams enable you to execute possibly-parallel aggregate operations over a
* variety of data sources, including even non-thread-safe collections such as
* {@code ArrayList}. This is possible only if we can prevent
* <em>interference</em> with the data source during the execution of a stream
--- 204,214 ----
* most cases must be <em>stateless</em>. Such parameters are always instances
* of a <a href="../function/package-summary.html">functional interface</a> such
* as {@link java.util.function.Function}, and are often lambda expressions or
* method references.
*
! * <h3><a name="NonInterference">Non-interference</a></h3>
*
* Streams enable you to execute possibly-parallel aggregate operations over a
* variety of data sources, including even non-thread-safe collections such as
* {@code ArrayList}. This is possible only if we can prevent
* <em>interference</em> with the data source during the execution of a stream
*** 727,737 ****
* pipelines. Streams based on spliterators with the desired characteristics,
* or those using the Supplier-based factory forms, are immune to
* modifications of the data source prior to commencement of the terminal
* operation (provided the behavioral parameters to the stream operations meet
* the required criteria for non-interference and statelessness). See
! * <a href="package-summary.html#Non-Interference">Non-Interference</a>
* for more details.
*
* @since 1.8
*/
package java.util.stream;
--- 727,737 ----
* pipelines. Streams based on spliterators with the desired characteristics,
* or those using the Supplier-based factory forms, are immune to
* modifications of the data source prior to commencement of the terminal
* operation (provided the behavioral parameters to the stream operations meet
* the required criteria for non-interference and statelessness). See
! * <a href="package-summary.html#NonInterference">Non-Interference</a>
* for more details.
*
* @since 1.8
*/
package java.util.stream;