10 Things You Can Do with Groovy Closures - Tutorial

10 Things You Can Do with Groovy Closures - Tutorial

Szymon Stepniak via YouTube Direct link

| Ex-5 Collection.inject example

8 of 13

8 of 13

| Ex-5 Collection.inject example

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

10 Things You Can Do with Groovy Closures - Tutorial

Automatically move to the next video in the Classroom when playback concludes

  1. 1 | Introduction
  2. 2 | What is Groovy closure?
  3. 3 | Ex-0 Using closures with collections
  4. 4 | Ex-1 Currying and Closure Composition
  5. 5 | Ex-2 Using Map.withDefault with Closure.IDENTITY and method pointer
  6. 6 | Ex-3 Regex matcher.replaceAll with a closure
  7. 7 | Ex-4 Closure to SAM coercion example
  8. 8 | Ex-5 Collection.inject example
  9. 9 | Ex-6 Closure delegation
  10. 10 | Ex-7 Groovy DSL Builders
  11. 11 | Ex-8 File.eachLine example
  12. 12 | Ex-9 System.in.eachLine example
  13. 13 | BONUS information about Groovy 🙂

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.