org.codehaus.groovy.runtime
Class DefaultGroovyStaticMethods
java.lang.Object
org.codehaus.groovy.runtime.DefaultGroovyStaticMethods
- public class DefaultGroovyStaticMethods
- extends Object
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.
- Version:
- $Revision: 1.2 $
- Author:
- Guillaume Laforge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGroovyStaticMethods
public DefaultGroovyStaticMethods()
hello
public static void hello(String stringClass,
String msg)
start
public static Thread start(Thread self,
Closure closure)
- Start a Thread with the given closure as a Runnable instance.
- Parameters:
closure
- the Runnable closure
- Returns:
- the started thread
startDaemon
public static Thread startDaemon(Thread self,
Closure closure)
- Start a daemon Thread with the given closure as a Runnable instance.
- Parameters:
closure
- the Runnable closure
- Returns:
- the started thread
Copyright © 2003-2004 The Codehaus. All Rights Reserved.