|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.runtime.DefaultGroovyStaticMethods
This class defines all the new static groovy methods which appear on normal JDK classes inside the Groovy environment. Static methods are used with the first parameter as the destination class.
Constructor Summary | |
DefaultGroovyStaticMethods()
|
Method Summary | |
static java.util.regex.Matcher |
getLastMatcher(java.util.regex.Matcher matcher)
Get the last hidden matcher that system used to do a match. |
static java.lang.Thread |
start(java.lang.Thread self,
Closure closure)
Start a Thread with the given closure as a Runnable instance. |
static java.lang.Thread |
startDaemon(java.lang.Thread self,
Closure closure)
Start a daemon Thread with the given closure as a Runnable instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultGroovyStaticMethods()
Method Detail |
public static java.lang.Thread start(java.lang.Thread self, Closure closure)
closure
- the Runnable closure
public static java.lang.Thread startDaemon(java.lang.Thread self, Closure closure)
closure
- the Runnable closure
public static java.util.regex.Matcher getLastMatcher(java.util.regex.Matcher matcher)
matcher
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |