This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ca467c2 2025/12/02 02:23:26: Generated dev website from
groovy-website@8d0a452
ca467c2 is described below
commit ca467c2692036107e1cccccbdbd027f7078591fc
Author: jenkins <[email protected]>
AuthorDate: Tue Dec 2 02:23:26 2025 +0000
2025/12/02 02:23:26: Generated dev website from groovy-website@8d0a452
---
blog/fruity-eclipse-grouping.html | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/blog/fruity-eclipse-grouping.html
b/blog/fruity-eclipse-grouping.html
index f360c8b..21f5cb3 100644
--- a/blog/fruity-eclipse-grouping.html
+++ b/blog/fruity-eclipse-grouping.html
@@ -346,18 +346,15 @@ assert availability.groupByMany() == [
and makes the last map look prettier - <em>Fall</em> just didn’t cut it
this time!]</p>
</div>
<div class="paragraph">
-<p>This Map variant is the equivalent of Eclipse Collections <code>flip</code>
method on multimaps
-as this example shows:</p>
+<p>This no-args Map variant is the equivalent of Eclipse Collections
<code>flip</code> method
+on multimaps as this example shows:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="prettyprint highlight"><code data-lang="groovy">var fruitColors =
Multimaps.mutable.set.empty()
-fruitColors.put('red', '🍒')
-fruitColors.put('red', '🍎')
-fruitColors.put('green', '🍎')
-fruitColors.put('yellow', '🍌')
+fruitColors.putAll('red', ['🍒', '🍎'])
+fruitColors.putAll('green', ['🍎', '🍌', '🥑'])
fruitColors.put('green', '🍌')
-fruitColors.put('green', '🥑')
println fruitColors
println fruitColors.flip()</code></pre>
</div>