|
Groovy JDK | |||||||||
true if the intersection of two collections is empty.
eval(ScriptEngine, Reader, Binding) except that the
source of the script is provided as a Reader
true according to the Groovy Truth.
self as a command-line process.
self with environment defined by envp
and under the working directory dir.
self with environment defined
by envp and under the working directory dir.
Shortcut for SimpleDateFormat to output a String representation of this calendar instance.
Return a string representation of the 'day' portion of this date according to the locale-specific DateFormat#SHORT default format.
Return a string representation of the date and time time portion of this Date instance, according to the locale-specific format used by DateFormat.
String.metaClass.myMethod = { println "foo" }
Return a string representation of the time portion of this date according to the locale-specific DateFormat#MEDIUM default format.
Object#isCase
method used by switch statements.
Returns true of the implementing MetaClass has a property of the given name
Note that this method will only return true for realised properties and does not take into account implementation of getProperty or propertyMissing
compareTo() method for comparing numbers of different
types.
toString() representation of each
items in this array, with the given String as a separator between each
item.
Map containing all entries from left and right,
giving precedence to right.
Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name regardless of the arguments.
Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name and arguments types.
myFile.setText('some text', charset)
or with some help from ExpandoMetaClass, you could do something like:
myFile.metaClass.setText = { String s -> delegate.setText(s, 'UTF-8') }
myfile.text = 'some text'
size() method for an array.
Strip leading spaces from every line in a String.
Strip numChar leading characters from every line in a String.
Strip leading whitespace/control characters followed by '|' from every line in a String.
Strip leading whitespace/control characters followed by marginChar from every line in a String.
Strip leading whitespace/control characters followed by marginChar from every line in a String.
closure for each descendant file in this directory tree.
get(key).
|
Groovy JDK | |||||||||