The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java fluent inline map initialization

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
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
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by josef betancourt.
Original Post: Java fluent inline map initialization
Feed Title: T. C. Mits
Feed URL: http://octodecillion.com/feed/
Feed Description: Java development and other technology topics
Latest Java Buzz Posts
Latest Java Buzz Posts by josef betancourt
Latest Posts From T. C. Mits

Advertisement
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

Topic: JUnit Disable Test Example Previous Topic   Next Topic Topic: Docker 1.9 – Virtual networks, persistent storage, production-ready Swarm

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use