List of Listings
Chapter 1. Why add Groovy to Java?
Listing 1.1. Sorting strings using the Collections.sort method
Listing 1.2. A Java class to sort strings
Listing 1.3. A Java class representing a task
Listing 1.4. A Spock test that checks each Java sorting method
Chapter 2. Groovy by example
Listing 2.1. Building a Swing UI 3D pie chart using Google Chart
Listing 2.2. Stadium.groovy: a POGO to hold stadium information
Listing 2.3. Geocoder.groovy, which uses the Google geocoder to compute lat and lng
Listing 2.4. populate_stadium_data.groovy
Listing 2.5. A portion of GetGameData, showing the attributes and initialization
Listing 2.6. boxscore.xml: the box score from game 4 of the 2007 World Series
Get Making Java Groovy now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.