Learn how Mockito annotations work in multiple-level injection scenarios.
Search Results for: pointer definition
Check if a Number Is a Happy Number in Java
Learn how to check if a number is a happy or sad number in Java.
Serialization with FlatBuffers in Java
Explore the FlatBuffers library and its capabilities to serialize and deserialize complex data.
Optional as a Record Parameter in Java
Learn about using Optional as a record parameter and understand why it’s a bad practice.
Difference Between @Spy and @SpyBean
Learn the difference between @Spy and @SpyBean in Spring.
Metadata GC Threshold in Java
The Java Garbage Collector plays a part in managing the memory of the metaspace, where information about classes is stored. We look at tuning parameters to help the JVM manage our application.
Guide to Simple Binary Encoding
Learn about Simple Binary Encoding (SBE): how to set it up, define the message structure via XML, and use it for messages in Java.
What Is the null Type in Java?
A quick and practical guide to null in Java.
Sorting Objects in a List by Date
Learn how to sort a Java Collection by Date object in both ascending and descending modes.
Lombok Configuration System
Learn how to configure Lombok.
New Features in Java 17
In this article, we’ll talk about the news related to the new version of the Java ecosystem, Java SE 17 – the new features and the changes in its release process, LTS support, and licenses.
Java Objects.hash() vs Objects.hashCode()
Learn how and when to use the Object.hashCode(), Objects.hashCode() and Objects.hash().
ArrayList vs. LinkedList vs. HashMap in Java
Learn about the differences between three of the most common Java Collections: ArrayList, LinkedList, and HashMap
New Features in Java 15
Look at some of the new features of Java 15 as well as other changes that are of interest to Java developers
Reversing a Linked List in Java
Implement two linked list reversal algorithms in Java
Find the Kth Smallest Element in Two Sorted Arrays in Java
A quick and practical guide to finding the k-th smallest element in two sorted arrays.
Comparing Objects in Java
Learn about comparing objects in Java.
Introduction to Lock-Free Data Structures with Java Examples
A quick and practical guide to lock-free data structures in Java.
An Introduction to ZGC: A Scalable and Experimental Low-Latency JVM Garbage Collector
Explore how Z Garbage Collector manages to keep low pause times on even multi-terabyte heaps.
Guice vs Spring – Dependency Injection
Learn about the similarities and differences between Guice and Spring for dependency injection