Discover Groovy traits with this tutorial. Learn about reusable behavior, mixins, and practical examples.
Groovy Variables tutorial shows how to declare and use variables in Groovy. Learn about dynamic typing, variable scope, and best practices.
Groovy Spaceship Operator tutorial explains the <=> operator for comparisons, with examples on sorting and custom objects.
Groovy String tutorial shows how to work with strings in Groovy. Learn to manipulate strings with practical examples.
Groovy Switch Expressions tutorial covers pattern matching with strings, types, ranges, and more.
Groovy operators tutorial shows how to work with operators in Groovy. We mention various types of operators and describe precedence and associativity rules in expressions.
Groovy Ranges tutorial covers basics, numeric ranges, steps, and date ranges with examples.
Groovy Records tutorial covers the basics of records introduced in Groovy 4, with practical examples.
Groovy JsonSlurper tutorial shows how to parse JSON data in Groovy using JsonSlurper. Learn to read and manipulate JSON with practical examples.
Groovy Lists tutorial covers basics and operations like sorting, filtering, and modifying with examples.