josef betancourt
Posts: 262
Nickname: averagejoe
Registered: Mar, 2013
|
josef betancourt is developer using Java and other stuff
|
|
|
|
Java fluent inline map initialization
|
Posted: Nov 8, 2015 10:14 PM
|
|
This is a common task, and there are many good and bad solutions out there. Java 8 even has a “Supplier” that can assist with inline map initializations. Unfortunately, Java does not have a simple method like that found in the Groovy language. A map in Groovy is: def map = [name: ‘Gromit’, likes: ‘cheese’, … Continue reading Java fluent inline map initialization →
Read: Java fluent inline map initialization
|
|