Managing data with Groovy: Lookups and accumulators

Posted by bob on Dec 9, 2016 3:43 PM EDT
Opensource.com
Mail this story
Print this story

In my first article on getting started with the Groovy programming language, I left off with an example of reading a CSV file in Groovy. In this article, I'm going to move to a more idiomatic Groovy style (make it groovier, as some would say), cover the use of Groovy maps as lookup tables, and finish up by using maps to calculate some results. First things first—here is the final example from the last article, in more idiomatic Groovy: read more

Full Story

  Nav
» Read more about: Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.