Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Groovy Set Examples

A Set is a collection of objects where all Elements are unique and with no duplicates. The elements are not ordered and there are no repeating values. This is a very important data structure on certain programming scenarios. Below are some examples on how we declare and manipulate Sets in Groovy.



This post first appeared on Grails Cookbook, please read the originial post: here

Share the post

Groovy Set Examples

×

Subscribe to Grails Cookbook

Get updates delivered right to your inbox!

Thank you for your subscription

×