Learn how comments and Unicode escape sequences work together.
Search Results for: output
Ensuring Message Ordering in Kafka: Strategies and Configurations
Learn how to ensure that messages are sent and received in the same order with Kafka.
Representing Furthest Possible Date in Java
Learn how to represent the furthest possible date using the java.util.Date and java.lang.Long classes.
Create Table Using ASCII in a Console in Java
Learn how to use the Java standard API and a third-party API to create a table using ASCII characters in Java.
Sharing Memory Between JVMs
Learn how to use share a memory area between two JVMs running on the same machine.
Convert ResultSet Into Map
Learn to convert a ResultSet in to a HashMap in Java.
Create a “Mutable” String in Java
Learn about mutable Strings and ways of mutating a String.
Time Conversions Using TimeUnit
We look at how to use TimeUnit to convert durations between units and avoid creating our own hard-to-read math code.
Modifying Objects Within Stream While Iterating
Discover the common mistakes made while modifying the elements in a Java Stream and the correct way to do it.
A Guide to OpenRewrite
Learn the basics of the OpenRewrite, a library to for managing Maven dependencies.
How to Write and Read a File with a Java HashMap
Explore three methods for writing to and reading from a file with HashMap data.
Working With MathFlux
Explore the MathFlux module from Project Reactor and learn how to execute various mathematical operations on reactive streams.
Convert String Containing XML to org.w3c.dom.Document
Learn how to convert a string with XML-based content into Org.w3c.dom.Document in Java.
Convert an XML Object to a String in Java
Learn how to convert an XML Document object to a string in Java.
Introduction to LangChain
Learn how to work with large language models in Java with LangChain.
Difference Between ZipFile and ZipInputStream in Java
Learn how to use ZipFile and ZipInputStream to read zip files, explore their functional differences, and evaluate their performance.
PrintWriter vs. FileWriter in Java
Learned the basic usage of FileWriter and PrintWriter with example code and understand their differences.
Capitalize the First Letter of Each Word in a String
Learn how to capitalize the initial character of each word in a Java string.
How to Create CSV File from POJO with Custom Column Headers and Positions
Learn how to convert POJO to CSV format and write to the CSV file.
How to Convert an Object to String
Explore various techniques for converting an object to its string representation in Java.