Object Extensions:
each,collect,find,findAll,any,every
dump:take a peek into an object
inspect:intended to tell you what input would be needed to create an object
identity/with:context method,to call multiple methods on an object
sleep:ignores interrupts while sleeping for the given number of milliseconds
Indirect Property Access: def obj = new Object() obj.porperty = value
Indirect Method Invoke: def obj = new Object() obj.invokeMethod("method",parameters)
Other Extensions: java.lang:plus=>+,next=>++ Number:upto,downto step java.io:eachFile,eachDir,eachLine,filterLine,withStream,withWriter,withReader,iterator,leftShift=>'<<' java.util:asImmutable,asSynchronized,inject java.util.Timer:runAfter
each,collect,find,findAll,any,every
dump:take a peek into an object
inspect:intended to tell you what input would be needed to create an object
identity/with:context method,to call multiple methods on an object
sleep:ignores interrupts while sleeping for the given number of milliseconds
Indirect Property Access: def obj = new Object() obj.porperty = value
Indirect Method Invoke: def obj = new Object() obj.invokeMethod("method",parameters)
Other Extensions: java.lang:plus=>+,next=>++ Number:upto,downto step java.io:eachFile,eachDir,eachLine,filterLine,withStream,withWriter,withReader,iterator,leftShift=>'<<' java.util:asImmutable,asSynchronized,inject java.util.Timer:runAfter