0
Q:

groovy implementation of the interface

def myObject = [m1: {-> doSomething()}] as TestInterface
1

New to Communities?

Join the community