This is cool: Map.Entry#comparingByKey and Map.Entry#comparingByValue. They both take another comparator or lambda that is used as a delegate for creating a Map.Entry comparator, that can be used to sort maps or find maximum and minimum pairs in a map by key or value like in the following example: import java.time.LocalDate; import java.util.Map; import java.util.Random; […]
This is the fourth Post in my series Developing a web application with Spring Boot, AngularJS and Java 8. I’m more a backend and database guy than a frontend developer, but i know how to write valid HTML and add some unobtrusive JavaScript to it, for example in my daily photo project. Daily Fratze is […]
This is the third Post in my series Developing a web application with Spring Boot, AngularJS and Java 8. My old application had a J2ME(!) companion on my dump phone that send my location to the app, showing it on the page. This was 2009… Before my iPhone time. Planning a longer bike tour in […]
This is the second Post in my series Developing a web application with Spring Boot, AngularJS and Java 8. Java 8 has a major history. Many features should have been already included in Java 7 (i.e. Lambdas (anonymous functions for the elderly), modules and some stuff from project coin), which was released in 2011. Now, […]
This is the first Post in my series Developing a web application with Spring Boot, AngularJS and Java 8 and has been featured in This Week in Spring – April 15, 2014. Spring Boot makes it very easy to get you up and running with the Spring ecosystem without the need for XML configuration and […]