This commit is contained in:
Jesper Wilhelmsson 2020-01-28 07:25:31 +01:00
commit efa4d2f9e1
15 changed files with 597 additions and 597 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2020, 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
@ -176,7 +176,7 @@
* do:
*
* <pre>{@code
* int sumOfWeights = widgets.}<code><b>parallelStream()</b></code>{@code
* int sumOfWeights = widgets.<b>parallelStream()</b>
* .filter(b -> b.getColor() == RED)
* .mapToInt(b -> b.getWeight())
* .sum();