Learn to implement the Bill Pugh Singleton pattern.
Search Results for: bits
Converting from float to BigDecimal in Java
Learn how to convert from a Java IEEE 754 float to BigDecimal.
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.
Check if Letter Is Emoji With Java
Discover multiple Java methods for detecting emojis in a string.
Find the Middle Element of an Array in Java
Explore several approaches to finding the middle elements of an array in Java.
Convert int to Long in Java
Learn several ways of convert an integer to a Long in Java.
Built-in Testcontainers Support in Spring Boot
Learn about the enhanced Testcontainers support introduced in Spring Boot 3.1.
Performance Comparison Between Different Java String Concatenation Methods
Explore different string concatenation methods in Java and evaluate their performance using JMH.
The Vector API in Java 19
Explore the Vector API, its associated terminologies, and how to leverage it.
Listing All AWS S3 Objects in a Bucket Using Java
Learn how to list all objects in an S3 bucket using AWS SDK V2 for Java.
Cognitive Complexity and Its Effect on the Code
A quick and practical guide to cognitive complexity.
Overview of NLP Libraries in Java
Explore different NLP libraries in Java and see how to implement some NLP tasks using Apache OpenNLP and Stanford CoreNLP.
Generate the Same UUID From a String in Java
Learn how to generate the same UUID objects from a string.
UUID vs. Sequential ID as Primary Key
A comparison between sequential IDs and UUIDs used as primary keys.
Anemic vs. Rich Domain Objects
Explore the differences between anemic and rich domain models in Java.
Different Ways to Create an Object in Java
Learn how to use keywords, such as new or class, to create an object.
Debugging Spring Method Annotations Using Lightrun
A practical guide to debugging Spring method annotations using Lightrun.
Java Weekly, Issue 478
Spring 3 Native support, TSID with Hibernate, window functions in Hibernate, placing features in systems, and Human OS!
Introduction to Roaring Bitmap
Learn about the roaring bitmap data structure, understand some of its operations, and see how it performs compared to BitSet.