A quick and practical guide to Mockito’s MockedConstruction.
Search Results for: new feature
Value-Based Classes in Java
Explore value-based classes and the notion of value types in Java.
Sequenced Collections in Java 21
Learn about the new sequenced collections from the Java 21 release.
Create List of Object From Another Type Using Java 8
Explore how to create a list of objects of a different type based on a given list.
Java Weekly, Issue 506
Spring AI, no more N+1 problem, statement caching, streams with virtual threads, service mesh, and good by EC2 classic!
Get the First n Elements of a List Into an Array
Learn the steps to retrieve the first n elements from a List and convert them into an array in Java.
Docker Compose Support in Spring Boot 3
Learn about the new Docker Compose support in Spring Boot 3.1.0.
Java Weekly, Issue 499
Azure Spring, Spring Rest Client, Micronaut 4, Reactive database connectivity, virtual threads, and Gen-AI.
How to Get Last Day of a Month in Java
Discover how to find the last day of a month in Java using both core Java methods and popular libraries. This article provides step-by-step explanations for accomplishing the task using Date and Calendar classes, Java 8’s Date Time API, and the Joda Time library with code examples and test cases.
Java Weekly, Issue 495
Lots and lots of new releases this week. And some Java Records goodness 🙂
Java Weekly, Issue 493
Generational Shenandoah, nullability of value types, class loaders in Java, DDL validation, and rolling out features at scale!
Get Unique Values From an ArrayList in Java
Explore a few techniques for obtaining unique values from an ArrayList in Java.
Returning a Value After Finishing Thread’s Job in Java
Learn how to return a value from a thread that has its job terminated
Working with Virtual Threads in Spring 6
Learn how to use virtual threads in a Spring 6-based application.
Find the Most Frequent Characters in a String
Learn three approaches to finding the most frequent characters in a string, with examples.
Functional vs. Non-Functional Testing
Learn the differences between functional and non-functional testing, and explore several types of testing for each.
The Difference Between junit-vintage-engine and junit-jupiter-engine
Explore the difference between the junit-vintage-engine and the junit-jupiter-engine.
Can Stream.collect() Return the null Value?
Learn whether Java’s Stream.collect() can return null.
API First Development with Spring Boot and OpenAPI 3.0
Discover API-First Development using Spring Boot and Open API Specification 3.0.