Learn how to get started with Pact, a library for utilising Consumer Driven Contracts.
Search Results for: sum
Changing the Order in a Sum Operation Can Produce Different Results?
Learn how the computers represent numbers and why changing the sum order returns a different result.
Clear Managed Entities in JPA/Hibernate
Review how entities are managed in JPA and explore a scenario where the persistence context may not return fresh data due to external changes.
Get the Indices of an Array After Sorting in Java
Explore effective methods in Java for finding the original indices after sorting.
Difference Between Iterator.forEachRemaining() and Iterable.forEach()
Explore Iterator.forEachRemaining() and Iterable.forEach() to iterate over elements in a collection.
Finding the Next Higher Number With the Same Digits
Learn how to find the next higher number with the same set of digits as the original number in Java.
Finding Minimum and Maximum in a 2D Array
A quick tutorial on finding the minimum and maximum values in a multi-dimensional array in Java.
Add Global Exception Interceptor in gRPC Server
Explore the role of interceptors in gRPC server applications to handle global exceptions.
Fault Tolerance in Java Using Failsafe
A quick and practical guide to fault tolerance with Failsafe.
Disable Logging From a Specific Class in Logback
A quick and practical guide to disabling Logback logging in a specific class.
How to Make Multiple REST Calls in CompletableFuture
This tutorial demonstrates using Java’s CompletableFuture to efficiently retrieve data from multiple REST APIs concurrently, enhancing response times and scalability in microservices.
Add an Aggregation to an Elasticsearch Query
Discover how to request data with aggregated information in Elasticsearch.
Check if Two Strings Are Permutations of Each Other in Java
Explore some algorithms for checking whether a string is a permutation of another string.
Monads in Java
Learn about monads and how they can help deal with effects.
Check if a Number Is Power of 2 in Java
Explore a few ways to determine if a number is a power of 2 in Java.
Finding the Second Smallest Integer in an Array in Java
Explore a few approaches to finding the second smallest number in an array.
REST with Spring Course
Learn to implement a production-grade, fully secure REST API with Spring 6 and Spring Boot 3.
Introduction to JavaParser
A quick and practical guide to JavaParser.
Configuring Retry Policy for gRPC Request
Learn how to implement retry policies in gRPC.
Perform Action Only if All Optionals Are Available
Learn how to perform an action only if all optionals are available.