<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: toList() vs collect(Collectors.toList())	</title>
	<atom:link href="https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/</link>
	<description>Java/J2EE Software Development and Technology Discussion Blog</description>
	<lastBuildDate>Sat, 30 Dec 2023 03:42:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/comment-page-1/#comment-348572</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sat, 30 Dec 2023 03:42:28 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=17055#comment-348572</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/comment-page-1/#comment-348529&quot;&gt;Mahdi&lt;/a&gt;.

Replied in X with:
&quot;final&quot; makes it a constant value. However, people in the Java community often refer to THESE_FINAL_STATIC ones as constants. 

To make this even more confusing, there is a &quot;compile time constant&quot; which can be a local variable without the final modifier.

Also, the best way to ask us questions about the book is at https://coderanch.com/f/24/java-programmer-OCPJP]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/comment-page-1/#comment-348529">Mahdi</a>.</p>
<p>Replied in X with:<br />
&#8220;final&#8221; makes it a constant value. However, people in the Java community often refer to THESE_FINAL_STATIC ones as constants. </p>
<p>To make this even more confusing, there is a &#8220;compile time constant&#8221; which can be a local variable without the final modifier.</p>
<p>Also, the best way to ask us questions about the book is at <a href="https://coderanch.com/f/24/java-programmer-OCPJP" rel="nofollow ugc">https://coderanch.com/f/24/java-programmer-OCPJP</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mahdi		</title>
		<link>https://www.selikoff.net/2023/12/28/tolist-vs-collectcollectors-tolist/comment-page-1/#comment-348529</link>

		<dc:creator><![CDATA[Mahdi]]></dc:creator>
		<pubDate>Fri, 29 Dec 2023 07:14:46 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=17055#comment-348529</guid>

					<description><![CDATA[Hi,
Sorry for asking here, I searched in your books and tried to find your email, but did not find that. I also sent you in X but did not get any reply.
Can you please confirm that Java constant must be static final, I men only final is not what we call constant right?
AFAIK, constant should be available without any instance of class is needed + its value shouldnt be changed + follow java code convention and named SNAKE_CASE  then it is called constant.
The only final field is called only final, it is not called constant and should be named camelCase.
Am I correct?
Thanks in advance and sorry again for asking here.]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
Sorry for asking here, I searched in your books and tried to find your email, but did not find that. I also sent you in X but did not get any reply.<br />
Can you please confirm that Java constant must be static final, I men only final is not what we call constant right?<br />
AFAIK, constant should be available without any instance of class is needed + its value shouldnt be changed + follow java code convention and named SNAKE_CASE  then it is called constant.<br />
The only final field is called only final, it is not called constant and should be named camelCase.<br />
Am I correct?<br />
Thanks in advance and sorry again for asking here.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
