<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
No worries -- I agree that using initializer there seems more consistent, and it's already clear that it is a Supplier so repeating that seems unnecessary.<br>
</div>
<div class="elementToProof">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Cheers,<br>
$B"e(B</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Viktor Klang</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Software Architect, Java Platform Group<br>
Oracle<br>
</div>
</div>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Daniel Schmid<br>
<b>Sent:</b> Tuesday, November 21, 2023 10:41<br>
<b>To:</b> Viktor Klang; jdk-dev@openjdk.org; Mark Reinhold<br>
<b>Subject:</b> [External] : Re: JEP proposed to target JDK 22: 461: Stream Gatherers (Preview)
<div><br>
</div>
</div>
<div class="rps_63f6">
<div>
<p style="margin-top: 0px; margin-bottom: 0px;">And another thing I realized after writing that E-Mail, the "initializer" parameter is called</p>
<p style="margin-top: 0px; margin-bottom: 0px;">> the supplier function for the new gatherer</p>
<p style="margin-top: 0px; margin-bottom: 0px;">I am unsure about the name "supplier function". After all, it is already named initializer so why not use the name initializer (function) instead of supplier function?<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<div class="x_moz-cite-prefix">Am 21.11.2023 um 10:35 schrieb Viktor Klang:<br>
</div>
<blockquote type="cite">
<div class="x_elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for the feedback -- I agree that could be improved.</div>
<div class="x_elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'll address this in the PR/CSR shortly.<br>
</div>
<div class="x_elementToProof">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="x_Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Cheers,<br>
$B"e(B</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Viktor Klang</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Software Architect, Java Platform Group<br>
Oracle<br>
</div>
</div>
</div>
</div>
<div>
<div><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%">
<b>From:</b> jdk-dev on behalf of Daniel Schmid<br>
<b>Sent:</b> Tuesday, November 21, 2023 10:31<br>
<b>To:</b> <a href="mailto:jdk-dev@openjdk.org" class="x_moz-txt-link-abbreviated OWAAutoLink" id="OWA099a624b-1a1f-ecad-78cc-601ffc69ddfc" data-loopstyle="linkonly">
jdk-dev@openjdk.org</a>; Mark Reinhold<br>
<b>Subject:</b> Re: JEP proposed to target JDK 22: 461: Stream Gatherers (Preview)
<div><br>
</div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">When reading the type parameters of the <br>
"Gatherer.of"/"Gatherer.ofSequential" methods, I realized that the type <br>
parameter for the intermediate state is documted as<br>
<br>
> the type of initializer for the new gatherer<br>
<br>
While not being wrong, it looks a bit confusing to me as it refers to <br>
the intermediate state which is also used by the integrator, that type <br>
parameter is not exclusive to the initializer.<br>
<br>
Is there a reason it is not called<br>
<br>
> the type of intermediate state for the new gatherer<br>
<br>
or something similar?<br>
<br>
Am 20.11.2023 um 17:17 schrieb Mark Reinhold:<br>
> The following JEP is proposed to target JDK 22:<br>
><br>
> 461: Stream Gatherers (Preview)<br>
> <a href="https://openjdk.org/jeps/461" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" id="OWAe4450ccd-5eae-7d44-4660-e46f70766eb3" class="x_OWAAutoLink x_moz-txt-link-freetext" data-loopstyle="linkonly">
https://openjdk.org/jeps/461</a><br>
><br>
> Summary: Enhance the Stream API to support custom intermediate<br>
> operations. This will allow stream pipelines to transform data in ways<br>
> that are not easily achievable with the existing built-in intermediate<br>
> operations. This is a preview API.<br>
><br>
> Feedback on this proposal from JDK Project Committers and Reviewers [1]<br>
> is more than welcome, as are reasoned objections. If no such objections<br>
> are raised by 20:00 UTC on Wednesday, 29 November, or if they$B!G(Bre raised<br>
> and then satisfactorily answered, then per the JEP 2.0 process proposal<br>
> [2] I$B!G(Bll target this JEP to JDK 22.<br>
><br>
> - Mark<br>
><br>
><br>
> [1] <a href="https://openjdk.org/census#jdk" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" id="OWA4454c98a-edde-f8a7-3acd-1c0b10a2bb21" class="x_OWAAutoLink x_moz-txt-link-freetext" data-loopstyle="linkonly">
https://openjdk.org/census#jdk</a><br>
> [2] <a href="https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" id="OWAb017981f-0b90-6c8b-f2d9-a8b1cca35ccc" class="x_OWAAutoLink x_moz-txt-link-freetext" data-loopstyle="linkonly">
https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html</a><br>
</div>
</span></font></div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>