Learn different options for configuring integration tests while testing applications that use Spring Boot’s scheduled tasks mechanisms
Search Results for: minus
Logging in Spring Boot With Loki
Learn how to send Spring Boot application logs to a Grafana Loki server.
Checking if a Date Object Equals Yesterday
Explore various approaches for determining whether a given date object falls on yesterday.
Find the Equilibrium Indexes of an Array in Java
Learn what an equilibrium index of an array is and how to identify it.
Convert Positive Integer to Negative and Vice Versa in Java
Learn how to turn an integer in Java from negative to positive and vice versa.
Arrays mismatch() Method in Java
Learn about the Arrays mismatch() method.
Calculating the Sum of Two Arrays in Java
Learn how to calculate the sum of two arrays element by element in Java.
Getting Yesterday’s Date in Java
Learn how to easily get yesterday’s date in Java.
Difference Between Instant and LocalDateTime
Learn about the difference between the Instant and LocalDateTime classes introduced with Java 8.
Find the Index of an Element in a Java Array
Learn various methods for finding the index of an array element using both Java’s built-in APIs and a third-party library.
Unidirectional One-to-Many and Cascading Delete in JPA
Learn about the Cascading deletion, focusing on unidirectional One-to-Many relationships.
Generate Unit Test Data in Java Using Instancio
Learn how to eliminate manual data setup in tests by auto-generating the data using Instancio.
Storing Data Triple in a List in Java
Explore how to store triples in a list with examples.
Functors in Java
Learn what is a Java Functor.
Working with Tabular Data Using Tablesaw
Learn about the Tablesaw library.
Get Keycloak User ID in Spring
Learn to get the Keycloak user ID in a Spring Boot application.
Java Operators
Walk through all Java operators to understand their functionalities and how to use them
Subtract Days from a Date in Java
Explore several ways to subtract days from a date object.
Provide an OAuth2 Token to a Feign Client
Learn to provide an OAuth2 token to a feign client.
Check if a String Ends with a Certain Pattern in Java
Learn how to check if a String ends in a certain pattern in Java using core Java methods as well as Apache Commons Lang’s StringUtils class.