<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JAVA &#8211; WebDevStudy</title>
	<atom:link href="https://www.webdevstudy.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webdevstudy.com</link>
	<description>software engineer development experience</description>
	<lastBuildDate>Tue, 11 Jul 2023 03:29:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.webdevstudy.com/wp-content/uploads/2023/04/logo-150x150.png</url>
	<title>JAVA &#8211; WebDevStudy</title>
	<link>https://www.webdevstudy.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Get Current Timestamp  in Milliseconds in Java</title>
		<link>https://www.webdevstudy.com/2023/07/11/how-to-get-current-timestamp-in-milliseconds-in-java/</link>
					<comments>https://www.webdevstudy.com/2023/07/11/how-to-get-current-timestamp-in-milliseconds-in-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 11 Jul 2023 03:29:16 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=289</guid>

					<description><![CDATA[There are several ways to get the current timestamp in milliseconds in Java. An epoch is the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC (i.e.&#160;1970-01-01T00:00:00Z). All of the options below return the same timestamp. The various options are a result of the evolution of the Java date API. [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/11/how-to-get-current-timestamp-in-milliseconds-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Get Part of an Array or List in Java</title>
		<link>https://www.webdevstudy.com/2023/07/11/how-to-get-part-of-an-array-or-list-in-java/</link>
					<comments>https://www.webdevstudy.com/2023/07/11/how-to-get-part-of-an-array-or-list-in-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 11 Jul 2023 03:14:52 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=282</guid>

					<description><![CDATA[Let’s see how we can obtain a part of an array or list (i.e. subarray or sublist). 1. Obtain subarray 1.1. Using&#160;Arrays::copyOfRange We can use&#160;Arrays::copyOfRange&#160;to copy the contents within a specified range of an array into another array. The&#160;start&#160;index is inclusive. The&#160;stop&#160;index is exclusive and can be greater than the length of the array. All [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/11/how-to-get-part-of-an-array-or-list-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Convert an InputStream to a File in Java</title>
		<link>https://www.webdevstudy.com/2023/07/08/convert-an-inputstream-to-a-file-in-java/</link>
					<comments>https://www.webdevstudy.com/2023/07/08/convert-an-inputstream-to-a-file-in-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 08 Jul 2023 02:11:15 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=278</guid>

					<description><![CDATA[Let’s learn how we convert an InputStream to a File in Java. 1.&#160;InputStream::transferTo&#160;(Java 9) In Java 9, you can copy bytes from an input stream to an output stream using InputStream::transferTo. 2.&#160;Files::copy&#160;(Java 7) In Java 7, you can use Files::copy to copy bytes from an input stream to a file. 3.&#160;IOUtils::copy&#160;(Apache Commons IO) With&#160;commons-io&#160;we have access to&#160;IOUtils::copy, which will allow us to [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/08/convert-an-inputstream-to-a-file-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How can I Convert an Iterator to Set in Java</title>
		<link>https://www.webdevstudy.com/2023/07/06/how-can-i-convert-an-iterator-to-set-in-java/</link>
					<comments>https://www.webdevstudy.com/2023/07/06/how-can-i-convert-an-iterator-to-set-in-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 03:49:16 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=274</guid>

					<description><![CDATA[How can I convert an Iterator into a Set in Java? Suppose I have an iterator iter and a set set. 1. Using&#160;for&#160;loops Iterators provide a way to access the elements of an object sequentially without exposing its underlying representation. Naturally, we can sequentially access each element and add it to a set. 2. Using Guava We can also use&#160;Guava’s&#160;Sets.newHashSet()&#160;to create a [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/06/how-can-i-convert-an-iterator-to-set-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Convert a List to List in Java (or vice versa!)</title>
		<link>https://www.webdevstudy.com/2023/07/06/convert-a-list-to-list-in-java-or-vice-versa/</link>
					<comments>https://www.webdevstudy.com/2023/07/06/convert-a-list-to-list-in-java-or-vice-versa/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 03:17:45 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=268</guid>

					<description><![CDATA[Let us convert between List&#60;Long> and List&#60;Integer> in Java. If we’re working with the following lists: We’ll be using Long::intValue and Integer::longValue to convert between the two types. 1. Using Java 8 streams You can convert a List&#60;Long> to a List&#60;Integer> using map(Long::intValue) in a stream. And of course, you can convert a List&#60;Integer> to a List&#60;Long> using map(Integer::longValue). 2. Using a for loop You can also use a traditional for loop to convert between the two types. [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/06/convert-a-list-to-list-in-java-or-vice-versa/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Check If File Exists Use Java</title>
		<link>https://www.webdevstudy.com/2023/07/05/how-to-check-if-file-exists-use-java/</link>
					<comments>https://www.webdevstudy.com/2023/07/05/how-to-check-if-file-exists-use-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 05 Jul 2023 01:57:31 +0000</pubDate>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=255</guid>

					<description><![CDATA[Let’s see how we can check if file exists use Java. 1. Using File::isFile We can use&#160;File::isFile&#160;to check if a file exists. Using&#160;isFile()&#160;is equivalent to checking if a file exists and is&#160;not&#160;a directory:&#160;file.exists() &#38;&#38; !file.isDirectory(). 2. Using Files::isRegularFile (NIO) We can also use Files::isRegularFile to check for file existence.]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/07/05/how-to-check-if-file-exists-use-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Extract String Between Parentheses in Java</title>
		<link>https://www.webdevstudy.com/2023/06/23/how-to-extract-string-between-parentheses-in-java/</link>
					<comments>https://www.webdevstudy.com/2023/06/23/how-to-extract-string-between-parentheses-in-java/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Jun 2023 05:45:06 +0000</pubDate>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[JAVA]]></category>
		<guid isPermaLink="false">https://www.webdevstudy.com/?p=162</guid>

					<description><![CDATA[Let’s see how extract a string between parentheses in Java with and without regular expressions. 1. Using&#160;String::matches The&#160;String.matches()&#160;method can be used to check if a string matches a regular expression. 2. Using&#160;Matcher::find The&#160;Matcher.find()&#160;method can be used to find a substring that matches a regular expression. 3. Using&#160;String::split The&#160;String.split()&#160;method can be used to split a string [&#8230;]]]></description>
		
					<wfw:commentRss>https://www.webdevstudy.com/2023/06/23/how-to-extract-string-between-parentheses-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
