Learn how to map a YAML list into a java List using Spring Boot.
Search Results for: list
Inject Arrays and Lists From Spring Properties Files
Learn various ways to use @Value and SpEL to inject property values as arrays or lists in Spring
Mapping Lists with ModelMapper
Learn how to map lists of different element types using Model Mapper.
Using a List of Values in a JdbcTemplate IN Clause
Learn how to pass a list of values into the IN clause of a Spring JDBC template query
Java ArrayList vs LinkedList
Learn the difference between ArrayList and LinkedList in Java
List All Redis Databases
Learn several ways to list all databases in a Redis instance.
List All Available Redis Keys
Learn how to list all of the available Redis keys
Circular Linked List Java Implementation
Learn how to implement a circular linked list in Java.
How to Count Duplicate Elements in Arraylist
Explore various ways to calculate the count of duplicate elements in a list.
Adding an Element to a Java Array vs an ArrayList
Learn how to add an element to a Java Array vs an ArrayList
The Spring TestExecutionListener
A quick and practical overview of Spring’s TestExecutionListener.
Searching for a String in an ArrayList
Learn how to search for a String in an ArrayList
Listing Numbers Within a Range in Java
Explore various ways of generating random numbers within a range in Java.
Removing an Element From an ArrayList
Learn several ways to remove an element from an ArrayList in Java.
Validating Lists in a Spring Controller
Learn how to validate a List of objects as a parameter to a Spring Controller
Thymeleaf lists Utility Object
Learn how to use the Thymeleaf lists Utility Object
Converting Iterator to List
Explore the various methods for converting an Iterator to a List in Java.
Checking If a List Is Sorted in Java
Learn several algorithms for checking whether a list is sorted in Java.
Serializing and Deserializing a List with Gson
Learn a few advanced serialization and deserialization cases for List using Google’s Gson library
Filtering a Java Collection by a List
Learn different ways to filter a Collection in Java based on the values of another list