skybert's Blog

skybert's Avatar Image
Coder of systems, lover of languages, follower of Christ. 台灣女婿
← All posts

I know I’ll get more geek points if I write Java code like:

    p -> mProfileURIMap.put(p.getId(), p.getURI()));

But I still think nothing beats a good old loop:

for (ProfileConf profileConf : pConf.getProfiles()) {
  mProfileURIMap.put(profileConf.getId(), profileConf.getURI());

#java #coding

To like or reply, open original post on