generated from CleanroomMC/TemplateDevEnv
-
Notifications
You must be signed in to change notification settings - Fork 28
Lambdas & Closures
brachy84 edited this page Jul 7, 2022
·
1 revision
You may have heard of lambdas (f.e. (param1, param2) -> param1 + param2
). In Groovy they are called Closures and have a slightly diffirent syntax. The example would look like this: { param1, param2 -> param1 + param2 }
.