News

In the above example, I’ve used the same good old java.util.ArrayList but in Groovy the context is implicit. Calls to add and size are automatically routed to the cart object — Groovy’s with ...