Home » JVM Languages » Groovy » Page 3

Groovy

Groovy List Example

Table Of Contents 1. Introduction 2. List Declaration 3. Add Items 4. Remove Items 5. Item Lookup 6. Split List 7. Count 8. Apply 9. Conclusion 1. Introduction List is generally used as stack in software development world in order to push items in it for future use and to be able to fetch back in a desired way. In ...

Read More »

Groovy Map Example

In this tutorial, I will show you how to evaluate the power of Groovy maps. You will provided codes for each case and I assume that you have a little bit back ground about groovy. Let’s have a look at map concepts in groovy step by step together. 1. Map Declaration Maps are generally used for storing key-value pairs in programming ...

Read More »