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

Groovy Range Examples

Groovy supports a quick way of declaring a list of Sequential Values using Ranges. In Groovy, a Range can be defined using the .. or ..< notation to declare a list of sequential values. Below are some examples.



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

Share the post

Groovy Range Examples

×

Subscribe to Grails Cookbook

Get updates delivered right to your inbox!

Thank you for your subscription

×