<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">

<channel>
	<title>Java Examples &amp; Code Snippets | Java Code Geeks</title>
	<atom:link href="https://examples.javacodegeeks.com/feed/" rel="self" type="application/rss+xml"/>
	<link>https://examples.javacodegeeks.com/</link>
	<description>Java 2 Java Developers Resource Center</description>
	<lastBuildDate>Tue, 02 Apr 2024 11:04:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://examples.javacodegeeks.com/wp-content/uploads/2013/05/JavaCodeGeeks-favIcon.png</url>
	<title>Examples Java Code Geeks</title>
	<link>https://examples.javacodegeeks.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Subscribe a Kafka Consumer to Multiple Topics</title>
		<link>https://examples.javacodegeeks.com/how-to-subscribe-a-kafka-consumer-to-multiple-topics/</link>
					<comments>https://examples.javacodegeeks.com/how-to-subscribe-a-kafka-consumer-to-multiple-topics/#respond</comments>
		
		<dc:creator><![CDATA[Omozegie Aziegbe]]></dc:creator>
		<pubDate>Tue, 02 Apr 2024 11:04:36 +0000</pubDate>
				<category><![CDATA[Enterprise Java]]></category>
		<category><![CDATA[kafka]]></category>
		<category><![CDATA[Kafka Consumer]]></category>
		<category><![CDATA[Streaming Data]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123189</guid>

					<description><![CDATA[Apache Kafka is a leading distributed streaming platform that enables the building of real-time data pipelines and streaming applications. One of Kafka&#8217;s core components is its consumer API, which allows applications to subscribe to and process streams of records in real time. Handling data from multiple topics concurrently is a common requirement in many Kafka-based &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/how-to-subscribe-a-kafka-consumer-to-multiple-topics/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2023/07/apache-kafka-logo.jpg"/>
	</item>
		<item>
		<title>Construct HashMap from String</title>
		<link>https://examples.javacodegeeks.com/construct-hashmap-from-string/</link>
					<comments>https://examples.javacodegeeks.com/construct-hashmap-from-string/#respond</comments>
		
		<dc:creator><![CDATA[Ashraf Sarhan]]></dc:creator>
		<pubDate>Fri, 29 Mar 2024 13:14:37 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[hashmap]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=122943</guid>

					<description><![CDATA[1. Introduction Java’s HashMap class is a widely used data structure that stores key-value pairs. In this tutorial, we’ll aim to elucidate the process of constructing a HashMap from its String representation in Java, outlining both simple and complex conversion scenarios. 2. Unpacking HashMap String Representations When you call the toString() method on a HashMap &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/construct-hashmap-from-string/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2012/12/java-logo.jpg"/>
	</item>
		<item>
		<title>Getting Record Fields and Values with Reflection</title>
		<link>https://examples.javacodegeeks.com/getting-record-fields-and-values-with-reflection/</link>
					<comments>https://examples.javacodegeeks.com/getting-record-fields-and-values-with-reflection/#comments</comments>
		
		<dc:creator><![CDATA[Ashraf Sarhan]]></dc:creator>
		<pubDate>Fri, 29 Mar 2024 13:12:36 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[Java Records]]></category>
		<category><![CDATA[Reflection API]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=122951</guid>

					<description><![CDATA[1. Overview In the ever-evolving landscape of Java programming, mastering reflection is a crucial skill. Reflection empowers developers to dynamically inspect and manipulate classes, interfaces, fields, and methods at runtime. With the introduction of records in Java 14, the need to efficiently retrieve record fields and their values has become increasingly important. In this comprehensive &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/getting-record-fields-and-values-with-reflection/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2020/09/java-logo.png"/>
	</item>
		<item>
		<title>Remove Line Breaks from a File in Java</title>
		<link>https://examples.javacodegeeks.com/remove-line-breaks-from-a-file-in-java/</link>
					<comments>https://examples.javacodegeeks.com/remove-line-breaks-from-a-file-in-java/#respond</comments>
		
		<dc:creator><![CDATA[Omozegie Aziegbe]]></dc:creator>
		<pubDate>Wed, 27 Mar 2024 14:54:33 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[Data manipulation]]></category>
		<category><![CDATA[File Operations]]></category>
		<category><![CDATA[Java File Handling]]></category>
		<category><![CDATA[Line Break Removal]]></category>
		<category><![CDATA[Text File Processing]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123193</guid>

					<description><![CDATA[Handling files is a common task, and sometimes it becomes necessary to manipulate the content within these files. One such operation is removing line breaks from a file. Line breaks can be in different formats such as '\n' (Unix/Linux), '\r\n' (Windows), or '\r' (older Macintosh systems). Line breaks create new lines in text files, sometimes &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/remove-line-breaks-from-a-file-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2020/09/java-logo.png"/>
	</item>
		<item>
		<title>RSocket Interface in Spring</title>
		<link>https://examples.javacodegeeks.com/rsocket-interface-in-spring/</link>
					<comments>https://examples.javacodegeeks.com/rsocket-interface-in-spring/#respond</comments>
		
		<dc:creator><![CDATA[Yatin]]></dc:creator>
		<pubDate>Tue, 26 Mar 2024 14:28:00 +0000</pubDate>
				<category><![CDATA[spring]]></category>
		<category><![CDATA[rsocket]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123125</guid>

					<description><![CDATA[RSocket in Spring Framework 6 offers a modern network communication protocol for building responsive, resilient, and message-driven applications. It supports bidirectional, multiplexed data streams over a single connection, facilitating efficient communication between microservices or server-client architectures, with enhanced throughput and reduced latency compared to traditional HTTP-based interactions. 1. Introduction The introduction of RSocket in Spring &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/rsocket-interface-in-spring/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2012/12/spring-logo.jpg"/>
	</item>
		<item>
		<title>Introduction to Apache Kafka</title>
		<link>https://examples.javacodegeeks.com/introduction-to-apache-kafka/</link>
					<comments>https://examples.javacodegeeks.com/introduction-to-apache-kafka/#respond</comments>
		
		<dc:creator><![CDATA[Yatin]]></dc:creator>
		<pubDate>Tue, 26 Mar 2024 13:27:57 +0000</pubDate>
				<category><![CDATA[Enterprise Java]]></category>
		<category><![CDATA[apache kafka]]></category>
		<category><![CDATA[kafka]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123121</guid>

					<description><![CDATA[Apache Kafka provides a reliable, scalable, and fault-tolerant messaging system that enables the exchange of data streams between multiple applications and microservices. Let us delve into understanding Apache Kafka and its basics. 1. Introduction Apache Kafka is a distributed streaming platform. It is designed to handle real-time, high-throughput data feeds. Kafka provides a publish-subscribe model &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/introduction-to-apache-kafka/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2023/07/apache-kafka-logo.jpg"/>
	</item>
		<item>
		<title>Java 21: Unnamed Class &amp; Instance Main</title>
		<link>https://examples.javacodegeeks.com/java-21-unnamed-class-instance-main/</link>
					<comments>https://examples.javacodegeeks.com/java-21-unnamed-class-instance-main/#respond</comments>
		
		<dc:creator><![CDATA[Yatin]]></dc:creator>
		<pubDate>Tue, 26 Mar 2024 08:43:00 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[Java 21]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123063</guid>

					<description><![CDATA[Java 21 introduces unnamed classes and instance main methods, enhancing simplicity and flexibility. Unnamed classes allow for quick, on-the-fly class definitions without a formal name, streamlining test code, or one-off implementations. Instance main methods enable executing code within an instance&#8217;s context directly, facilitating more intuitive object-oriented programming practices. Let us delve into understanding Java 21 &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/java-21-unnamed-class-instance-main/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2012/12/java-logo.jpg"/>
	</item>
		<item>
		<title>Convert Char Array to Int Array in Java</title>
		<link>https://examples.javacodegeeks.com/convert-char-array-to-int-array-in-java/</link>
					<comments>https://examples.javacodegeeks.com/convert-char-array-to-int-array-in-java/#respond</comments>
		
		<dc:creator><![CDATA[Omozegie Aziegbe]]></dc:creator>
		<pubDate>Mon, 25 Mar 2024 22:20:13 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[ASCII values]]></category>
		<category><![CDATA[Character array]]></category>
		<category><![CDATA[Conversion techniques]]></category>
		<category><![CDATA[Data manipulation]]></category>
		<category><![CDATA[Integer array]]></category>
		<category><![CDATA[Java Programming]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123191</guid>

					<description><![CDATA[One common task we could encounter is converting character arrays to integer arrays. There are several ways to convert a character array containing digits (char[]) into an integer array (int[]) in Java. In this guide, we will explore different techniques to accomplish this task. 1. Using Character.getNumericValue() Java provides a built-in method Character.getNumericValue(char) that returns &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/convert-char-array-to-int-array-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2020/09/java-logo.png"/>
	</item>
		<item>
		<title>Validate Boolean type in Spring Boot</title>
		<link>https://examples.javacodegeeks.com/validate-boolean-type-in-spring-boot/</link>
					<comments>https://examples.javacodegeeks.com/validate-boolean-type-in-spring-boot/#respond</comments>
		
		<dc:creator><![CDATA[Yatin]]></dc:creator>
		<pubDate>Mon, 25 Mar 2024 18:41:33 +0000</pubDate>
				<category><![CDATA[spring]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[spring boot]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123066</guid>

					<description><![CDATA[In a Spring Boot application, validating the Boolean type ensures data integrity and application reliability. By enforcing constraints on Boolean inputs, such as true/false values, potential errors, and inconsistencies are minimized, contributing to robustness and accurate functionality within the system. Let us delve into a spring boot application example to understand the different ways to &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/validate-boolean-type-in-spring-boot/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2012/12/spring-logo.jpg"/>
	</item>
		<item>
		<title>Rotate Arrays in Java</title>
		<link>https://examples.javacodegeeks.com/rotate-arrays-in-java/</link>
					<comments>https://examples.javacodegeeks.com/rotate-arrays-in-java/#respond</comments>
		
		<dc:creator><![CDATA[Omozegie Aziegbe]]></dc:creator>
		<pubDate>Mon, 25 Mar 2024 12:14:00 +0000</pubDate>
				<category><![CDATA[Core Java]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[Array Rotation]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[data structures]]></category>
		<category><![CDATA[Java]]></category>
		<guid isPermaLink="false">https://examples.javacodegeeks.com/?p=123077</guid>

					<description><![CDATA[In Java, array rotation refers to shifting the elements of an array by a specified number of positions. This operation can be performed in either direction: clockwise (right rotation) or counter-clockwise (left rotation). Array rotation finds applications in various domains such as algorithm design, data manipulation, and cryptography. This article will explore different approaches to &#8230;]]></description>
		
					<wfw:commentRss>https://examples.javacodegeeks.com/rotate-arrays-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:thumbnail url="https://examples.javacodegeeks.com/wp-content/uploads/2020/09/java-logo.png"/>
	</item>
	</channel>
</rss>