Learn to compare objects using Apache Commons Lang 3.
Search Results for: Java Classes
Is Java Reflection Bad Practice?
In this article, we’ll explore the benefits and drawbacks of using Java Reflection, trying to determine whether it qualifies as a bad practice.
Deprecate Finalization in Java 18
Learn about the reason behind Java’s decision to deprecate finalization for removal.
How to Convert Double to Float in Java
Explore double and float in Java and learn how to convert them into each other.
Convert Char Array to Int Array in Java
Explore how to convert a char array to an int array in Java.
Testing Interface Contract in Java
Explore several ways of writing JUnit tests to validate interface contracts in Java.
Converting HashMap Values to an ArrayList in Java
Explore several ways to convert a HashMap to an ArrayList in Java.
String Templates in Java 21
Explore several String composition techniques and understand the idea behind String interpolation.
Code Snippets in Java API Documentation
Explore how to add code snippets into documentation using the @snippet tag.
How To Convert Excel Data Into List Of Java Objects
Learn about the usage of several libraries, such as Apache POI, Poiji, FastExcel, and JExcelApi, to read and convert data from Excel files into Java objects.
Java Double vs. BigDecimal
Compare Java’s Double to BigDecimal and learn about their differences.
Double Precision Issue in Java
Learn what the double precision issue is, how it affects code, and how to deal with it.
Detect EOF in Java
Explore several methods for detecting the end-of-file character in Java.
Sequenced Collections in Java 21
Learn about the new sequenced collections from the Java 21 release.
How to Get Index of an Item in Java Set
Explore how to find the index of an element in a Set.
Difference Between Hashtable and ConcurrentHashMap in Java
Learn the differences between Hashtable and ConcurrentHashMap, delving into their performance metrics, synchronization features, and various other aspects.
Constructing Java Objects From Only the Class Name
Explore the process of creating Java objects using their class names.
Java Weekly, Issue 507
Spring Boot with Graal and virtual threads, sealed pattern matching, Oracle JSON, Java 21, and Problem Details in HTTP APIs.
When to Call System.out.flush() in Java?
Learn when to call System.out.flush() in Java.
Extract CN From X509 Certificate in Java
Learn several approaches to extracting the CN value of a certificate file.