Thymeleaf is the template engine for Java-based applications. In this article, we will present utility methods for
Maps. The implementation of
Maps utility methods can be found in the official Thymeleaf GitHub Repository.
2. Available utility methods for
Thymeleaf comes with several utility methods for Maps.
||Check whether map is empty|
||Check if key/s or value/s are contained in maps|
In this article, we presented Thymeleaf utility methods for Java
Map objects. The utility should be useful to find out what is the size of a
Map or check if it contains specified