Groovy JDK

A B C D E F G H I J L M N O P R S T U W X

## A

abs() - Method in class java.lang.Double
  Get the absolute value
accept(boolean, groovy.lang.Closure) - Method in class java.net.ServerSocket
  Accepts a connection and passes the resulting Socket to the closure which runs in a new Thread or the calling thread, as needed.
accept(groovy.lang.Closure) - Method in class java.net.ServerSocket
  Accepts a connection and passes the resulting Socket to the closure which runs in a new Thread.
addAll(T[]) - Method in class java.util.Collection
  Adds all of the elements in the specified array to this collection.
addAll(int, T[]) - Method in class java.util.List
  Inserts all of the elements in the specified array into this list at the specified position.
addShutdownHook(groovy.lang.Closure) - Method in class java.lang.Object
  Allows the usage of addShutdownHook without getting the runtime first.
and(java.lang.Boolean) - Method in class java.lang.Boolean
  Logical conjunction of two boolean operators.
and(java.lang.Number) - Method in class java.lang.Number
  Bitwise AND together two Numbers.
and(java.util.BitSet) - Method in class java.util.BitSet
  Bitwise AND together two BitSets.
any() - Method in class java.lang.Object
  Iterates over the elements of a collection, and checks whether at least one element is true according to the Groovy Truth.
any(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the contents of an object or collection, and checks whether a predicate is valid for at least one element.
append(byte[]) - Method in class java.io.File
  Append bytes to the end of a File.
append(java.io.InputStream) - Method in class java.io.File
  Append binary data to the file.
append(java.lang.Object) - Method in class java.io.File
  Append the text at the end of the File.
append(java.lang.Object, java.lang.String) - Method in class java.io.File
  Append the text at the end of the File, using a specified encoding.
asBoolean() - Method in class java.lang.Boolean
  Coerce an Boolean instance to a boolean value.
asImmutable() - Method in class java.util.Collection
  A convenience method for creating an immutable Collection.
asList() - Method in class java.util.Collection
  Converts this Collection to a List.
asSynchronized() - Method in class java.util.Collection
  A convenience method for creating a synchronized Collection.
asType(java.lang.Class) - Method in class java.lang.Number
  Transform this number to a the given type, using the 'as' operator.
asWritable() - Method in class java.io.File
  Converts this File to a Writable.
asWritable(java.lang.String) - Method in class java.io.File
  Allows a file to return a Writable implementation that can output itself to a Writer stream.

## B

bitwiseNegate() - Method in class java.lang.String
  Turns a String into a regular expression Pattern

## C

capitalize() - Method in class java.lang.String
  Convenience method to capitalize the first letter of a string (typically the first letter of a word).
center(java.lang.Number) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars` by adding the space character around it as many times as needed so that it remains centered.
center(java.lang.Number, java.lang.String) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars`, appending the supplied padding String around the original as many times as needed keeping it centered.
clear() - Method in class java.awt.Container
  Removes all components from the Container.
clearTime() - Method in class java.util.Calendar
  Clears the time portion of this Calendar instance; useful utility where it makes sense to compare month/day/year only portions of a Calendar.
collect(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through this object transforming each value into a new value using the closure as a transformer, returning a list of transformed values.
collect(java.util.Collection, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through this object transforming each object into a new value using the closure as a transformer and adding it to the collection, returning the resulting collection.
collectAll(groovy.lang.Closure) - Method in class java.util.Collection
  Recursively iterates through this collection transforming each non-Collection value into a new value using the closure as a transformer.
collectAll(java.util.Collection, groovy.lang.Closure) - Method in class java.util.Collection
  Recursively iterates through this collection transforming each non-Collection value into a new value using the closure as a transformer.
collectEntries(groovy.lang.Closure) - Method in class java.lang.Object[]
  Iterates through this array transforming each item using the closure as a transformer into a map entry, returning a map of the transformed entries.
collectEntries(java.util.Map, groovy.lang.Closure) - Method in class java.lang.Object[]
  Iterates through this array transforming each item using the closure as a transformer into a map entry, returning a map of the transformed entries.
combinations() - Method in class java.util.Collection
  Adds GroovyCollections#combinations(Collection) as a method on collections.
compareTo(java.lang.Character) - Method in class java.lang.Character
  Compare two Characters.
compareTo(java.lang.Number) - Method in class java.lang.Character
  Compare a Character and a Number.
consumeProcessErrorStream(java.io.OutputStream) - Method in class java.lang.Process
  Gets the error stream from a process and reads it to keep the process from blocking due to a full buffer.
consumeProcessErrorStream(java.lang.Appendable) - Method in class java.lang.Process
  Gets the error stream from a process and reads it to keep the process from blocking due to a full buffer.
consumeProcessOutput() - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
consumeProcessOutput(java.io.OutputStream, java.io.OutputStream) - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
consumeProcessOutput(java.lang.Appendable, java.lang.Appendable) - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
consumeProcessOutputStream(java.io.OutputStream) - Method in class java.lang.Process
  Gets the output stream from a process and reads it to keep the process from blocking due to a full output buffer.
consumeProcessOutputStream(java.lang.Appendable) - Method in class java.lang.Process
  Gets the output stream from a process and reads it to keep the process from blocking due to a full output buffer.
contains(java.lang.String) - Method in class java.lang.String
  Provide an implementation of contains() like Collection#contains to make Strings more polymorphic.
containsAll(java.lang.Object[]) - Method in class java.util.Collection
  Returns `true` if this collection contains all of the elements in the specified array.
count(java.lang.Object) - Method in class java.lang.Object[]
  Counts the number of occurrences of the given value inside this array.
count(java.lang.String) - Method in class java.lang.String
  Count the number of occurencies of a substring.

## D

decodeBase64() - Method in class java.lang.String
  Decode the String from Base64 into a byte array.
deleteDir() - Method in class java.io.File
  Deletes a directory with all contained files and subdirectories.
denormalize() - Method in class java.lang.String
  Return a String with lines (separated by LF, CR/LF, or CR) terminated by the platform specific line separator.
disjoint(java.util.Collection) - Method in class java.util.Collection
  Returns `true` if the intersection of two collections is empty.
div(java.lang.Character) - Method in class java.lang.Character
  Divide one Character by another.
div(java.lang.Number) - Method in class java.lang.Character
  Divide a Character by a Number.
downto(java.lang.Number, groovy.lang.Closure) - Method in class java.lang.Double
  Iterates from this number down to the given number, inclusive, decrementing by one each time.
dump() - Method in class java.lang.Object
  Generates a detailed dump string of an object showing its class, hashCode and fields.

## E

each(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through an aggregate type or data structure, passing each item to the given closure.
eachByte(groovy.lang.Closure) - Method in class java.lang.Byte[]
  Traverse through each byte of this Byte array.
eachByte(int, groovy.lang.Closure) - Method in class java.io.File
  Traverse through the bytes of this File, bufferLen bytes at a time.
eachDir(groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each subdirectory in this directory, ignoring regular files.
eachDirMatch(java.lang.Object, groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each subdirectory whose name (dir.name) matches the given nameFilter in the given directory - calling the Object#isCase method to determine if a match occurs.
eachDirRecurse(groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each descendant directory of this directory.
eachFile(groovy.io.FileType, groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each 'child' file in this 'parent' folder/directory.
eachFile(groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each 'child' file in this 'parent' folder/directory.
eachFileMatch(groovy.io.FileType, java.lang.Object, groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each file whose name (file.name) matches the given nameFilter in the given directory - calling the Object#isCase method to determine if a match occurs.
eachFileMatch(java.lang.Object, groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each file whose name (file.name) matches the given nameFilter in the given directory - calling the Object#isCase method to determine if a match occurs.
eachFileRecurse(groovy.io.FileType, groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each descendant file in this directory.
eachFileRecurse(groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each descendant file in this directory.
eachLine(groovy.lang.Closure) - Method in class java.lang.String
  Iterates through this String line by line.
eachLine(int, groovy.lang.Closure) - Method in class java.lang.String
  Iterates through this String line by line.
eachLine(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Iterates through this file line by line.
eachLine(java.lang.String, int, groovy.lang.Closure) - Method in class java.io.File
  Iterates through this file line by line.
eachMatch(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Process each regex group matched substring of the given string.
eachMatch(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Process each regex group matched substring of the given pattern.
eachObject(groovy.lang.Closure) - Method in class java.io.File
  Iterates through the given file object by object.
eachPermutation(groovy.lang.Closure) - Method in class java.util.Collection
  Iterates over all permutations of a collection, running a closure for each iteration.
eachWithIndex(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through an aggregate type or data structure, passing each item and the item's index (a counter starting at zero) to the given closure.
encodeBase64() - Method in class java.lang.Byte[]
  Produce a Writable object which writes the Base64 encoding of the byte array.
encodeBase64(boolean) - Method in class java.lang.Byte[]
  Produce a Writable object which writes the Base64 encoding of the byte array.
equals(int[]) - Method in class primitive-types.int[]
  Compare the contents of this array to the contents of the given array.
equals(java.lang.Object[]) - Method in class java.util.List
  Determines if the contents of this list are equal to the contents of the given array in the same order.
equals(java.util.List) - Method in class java.lang.Object[]
  Determines if the contents of this array are equal to the contents of the given list, in the same order.
eval(java.io.Reader, groovy.lang.Binding) - Method in class javax.script.ScriptEngine
  Same as `eval(ScriptEngine, Reader, Binding)` except that the source of the script is provided as a `Reader`
eval(java.lang.String, groovy.lang.Binding) - Method in class javax.script.ScriptEngine
  Executes the specified script.
every() - Method in class java.lang.Object
  Iterates over every element of a collection, and checks whether all elements are `true` according to the Groovy Truth.
every(groovy.lang.Closure) - Method in class java.lang.Object
  Used to determine if the given predicate closure is valid (i.e.
execute() - Method in class java.lang.String
  Executes the command specified by `self` as a command-line process.
execute(java.lang.String[], java.io.File) - Method in class java.lang.String
  Executes the command specified by `self` with environment defined by `envp` and under the working directory `dir`.
execute(java.util.List, java.io.File) - Method in class java.lang.String
  Executes the command specified by `self` with environment defined by `envp` and under the working directory `dir`.
expand() - Method in class java.lang.String
  Expands all tabs into spaces with tabStops of size 8.
expand(int) - Method in class java.lang.String
  Expands all tabs into spaces.
expandLine(int) - Method in class java.lang.String
  Expands all tabs into spaces.

## F

filterLine(groovy.lang.Closure) - Method in class java.io.File
  Filters the lines of a File and creates a Writeable in return to stream the filtered lines.
filterLine(java.io.Writer, groovy.lang.Closure) - Method in class java.io.File
  Filter the lines from this File, and write them to the given writer based on the given closure predicate.
filterLine(java.io.Writer, java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Filter the lines from this File, and write them to the given writer based on the given closure predicate.
filterLine(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Filters the lines of a File and creates a Writeable in return to stream the filtered lines.
find(groovy.lang.Closure) - Method in class java.lang.Object
  Finds the first value matching the closure condition
find(java.lang.String) - Method in class java.lang.String
  Finds the first occurrence of a regular expression String within a String.
find(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Finds the first occurrence of a regular expression String within a String.
find(java.util.regex.Pattern) - Method in class java.lang.String
  Finds the first occurrence of a compiled regular expression Pattern within a String.
find(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Finds the first occurrence of a compiled regular expression Pattern within a String.
findAll(groovy.lang.Closure) - Method in class java.lang.Object
  Finds all items matching the closure condition.
findAll(java.lang.String) - Method in class java.lang.String
  Finds all occurrences of a regular expression string within a String.
findAll(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Finds all occurrences of a regular expression string within a String.
findAll(java.util.regex.Pattern) - Method in class java.lang.String
  Finds all occurrences of a regular expression Pattern within a String.
findAll(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Finds all occurrences of a compiled regular expression Pattern within a String.
findIndexOf(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items and returns the index of the first item that matches the condition specified in the closure.
findIndexOf(int, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items, starting from a specified startIndex, and returns the index of the first item that matches the condition specified in the closure.
findIndexValues(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items and returns the index values of the items that match the condition specified in the closure.
findIndexValues(java.lang.Number, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items, starting from a specified startIndex, and returns the index values of the items that match the condition specified in the closure.
findLastIndexOf(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items and returns the index of the last item that matches the condition specified in the closure.
findLastIndexOf(int, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates over the elements of an iterable collection of items, starting from a specified startIndex, and returns the index of the last item that matches the condition specified in the closure.
findResult(groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through the object and returns the first non-null result from the closure
findResult(java.lang.Object, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through the object and returns the first non-null result from the closure, otherwise returns the defaultResult
first() - Method in class java.lang.Object[]
  Returns the first item from the Object array.
flatten() - Method in class java.lang.Object[]
  Flatten an array.
flatten(groovy.lang.Closure) - Method in class java.util.Collection
  Flatten a collection.
format(java.lang.String) - Method in class java.util.Calendar

  Shortcut for SimpleDateFormat to output a String representation of this calendar instance.

## G

get(K, V) - Method in class java.util.Map
  Looks up an item in a Map for the given key and returns the value - unless there is no entry for the given key in which case add the default value to the map and return that.
getAt(K) - Method in class java.util.Map
  Support the subscript operator for a Map.
getAt(groovy.lang.EmptyRange) - Method in class java.lang.CharSequence
  Support the range subscript operator for CharSequence or StringBuffer with EmptyRange
getAt(groovy.lang.IntRange) - Method in class java.lang.CharSequence
  Support the range subscript operator for CharSequence or StringBuffer with IntRange
getAt(groovy.lang.ObjectRange) - Method in class java.lang.Object[]
getAt(groovy.lang.Range) - Method in class java.lang.CharSequence
  Support the range subscript operator for CharSequence
getAt(int) - Method in class java.lang.CharSequence
  Support the subscript operator for CharSequence.
getAt(java.lang.String) - Method in class java.lang.Object
  Allows the subscript operator to be used to lookup dynamic property values.
getAt(java.util.Collection) - Method in class java.lang.CharSequence
  Select a List of characters from a CharSequence using a Collection to identify the indices to be selected.
getBundle(java.lang.String) - Method in class java.util.ResourceBundle
  Works exactly like ResourceBundle.getBundle(String).
getBundle(java.lang.String, java.util.Locale) - Method in class java.util.ResourceBundle
  Works exactly like ResourceBundle.getBundle(String, Locale).
getBytes() - Method in class java.io.File
  Read the content of the File and returns it as a byte[].
getChars() - Method in class java.lang.String
  Converts the given String into an array of characters.
getCount() - Method in class java.util.regex.Matcher
  Find the number of Strings matched to the given Matcher.
getDateString() - Method in class java.util.Date

  Return a string representation of the 'day' portion of this date according to the locale-specific DateFormat#SHORT default format.

getDateTimeString() - Method in class java.util.Date

  Return a string representation of the date and time time portion of this Date instance, according to the locale-specific format used by DateFormat.

getErr() - Method in class java.lang.Process
  An alias method so that a process appears similar to System.out, System.in, System.err; you can use process.in, process.out, process.err in a similar fashion.
getIn() - Method in class java.lang.Process
  An alias method so that a process appears similar to System.out, System.in, System.err; you can use process.in, process.out, process.err in a similar fashion.
getLastMatcher() - Method in class java.util.regex.Matcher
  Get the last hidden matcher that the system used to do a match.
getMetaClass() - Method in class java.lang.Class
  Adds a "metaClass" property to all class objects so you can use the syntax `String.metaClass.myMethod = { println "foo" }`
getMetaPropertyValues() - Method in class java.lang.Object
  Retrieves the list of MetaProperty objects for 'self' and wraps it in a list of PropertyValue objects that additionally provide the value for each property of 'self'.
getOut() - Method in class java.lang.Process
  An alias method so that a process appears similar to System.out, System.in, System.err; you can use process.in, process.out, process.err in a similar fashion.
getProperties() - Method in class java.lang.Object
  Convenience method that calls Object#getMetaPropertyValues(self) and provides the data in form of simple key/value pairs, i.e.
getRootLoader() - Method in class java.lang.ClassLoader
  Iterates through the classloader parents until it finds a loader with a class named "org.codehaus.groovy.tools.RootLoader".
getText() - Method in class java.lang.Process
  Read the text of the output stream of the Process.
getText(java.lang.String) - Method in class java.io.File
  Read the content of the File using the specified encoding and return it as a String.
getTimeString() - Method in class java.util.Date

  Return a string representation of the time portion of this date according to the locale-specific DateFormat#MEDIUM default format.

grep(java.lang.Object) - Method in class java.lang.Object
  Iterates over every element of the collection and returns each item that matches the given filter - calling the `Object#isCase` method used by switch statements.
groupBy(groovy.lang.Closure) - Method in class java.util.Collection
  Sorts all collection members into groups determined by the supplied mapping closure.
groupEntriesBy(groovy.lang.Closure) - Method in class java.util.Map
  Groups all map entries into groups determined by the supplied mapping closure.

## H

hasGroup() - Method in class java.util.regex.Matcher
  Check whether a Matcher contains a group or not.
hasProperty(java.lang.String) - Method in class java.lang.Object

  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

head() - Method in class java.lang.Object[]
  Returns the first item from the Object array.

## I

identity(groovy.lang.Closure) - Method in class java.lang.Object
  Allows the closure to be called for the object reference self synonym for 'with()'.
inject(java.lang.Object, groovy.lang.Closure) - Method in class java.lang.Object
  Iterates through the given Object, passing in the initial value to the closure along with the first item.
inspect() - Method in class java.lang.Object
  Inspects returns the String that matches what would be typed into a terminal to create this object.
intdiv(java.lang.Character) - Method in class java.lang.Character
  Integer Divide two Characters.
intdiv(java.lang.Number) - Method in class java.lang.Character
  Integer Divide a Character by a Number.
intersect(java.util.Collection) - Method in class java.util.Collection
  Create a Collection composed of the intersection of both collections.
intersect(java.util.Map) - Method in class java.util.Map
  Create a Map composed of the intersection of both maps.
invokeMethod(java.lang.String, java.lang.Object) - Method in class java.lang.Object
  Provide a dynamic method invocation method which can be overloaded in classes to implement dynamic proxies easily.
is(java.lang.Object) - Method in class java.lang.Object
  Identity check.
isAllWhitespace() - Method in class java.lang.String
  True if a String only contains whitespace characters.
isBigDecimal() - Method in class java.lang.String
  Determine if a String can be parsed into a BigDecimal.
isBigInteger() - Method in class java.lang.String
  Determine if a String can be parsed into a BigInteger.
isCase(java.lang.Number) - Method in class java.lang.Number
  Special 'case' implementation for all numbers, which delegates to the `compareTo()` method for comparing numbers of different types.
isCase(java.lang.Object) - Method in class java.lang.Class
  Special 'Case' implementation for Class, which allows testing for a certain class in a switch statement.
isDigit() - Method in class java.lang.Character
  Determines if a character is a digit.
isDouble() - Method in class java.lang.String
  Determine if a String can be parsed into a Double.
isFloat() - Method in class java.lang.String
  Determine if a String can be parsed into a Float.
isInteger() - Method in class java.lang.String
  Determine if a String can be parsed into an Integer.
isLetter() - Method in class java.lang.Character
  Determines if a character is a letter.
isLetterOrDigit() - Method in class java.lang.Character
  Determines if a character is a letter or digit.
isLong() - Method in class java.lang.String
  Determine if a String can be parsed into a Long.
isLowerCase() - Method in class java.lang.Character
  Determine if a Character is lowercase.
isNumber() - Method in class java.lang.String
  Determine if a String can be parsed into a Number.
isUpperCase() - Method in class java.lang.Character
  Determine if a Character is uppercase.
isWhitespace() - Method in class java.lang.Character
  Determines if a character is a whitespace character.
iterator() - Method in class java.lang.Object
  Attempts to create an Iterator for the given object by first converting it to a Collection.

## J

join(java.lang.String) - Method in class java.lang.Object[]
  Concatenates the `toString()` representation of each items in this array, with the given String as a separator between each item.

## L

last() - Method in class java.lang.Object[]
  Returns the last item from the Object array.
leftShift(T) - Method in class java.util.Collection
  Overloads the left shift operator to provide an easy way to append objects to a Collection.
leftShift(byte[]) - Method in class java.lang.Process
  Overloads the left shift operator to provide an append mechanism to pipe into a Process
leftShift(groovy.lang.GString) - Method in class javax.swing.JMenu
  Overloads the left shift operator to provide an easy way to add components to a menu.
leftShift(java.awt.Component) - Method in class java.awt.Container
  Overloads the left shift operator to provide an easy way to add components to a Container.
leftShift(java.io.InputStream) - Method in class java.io.File
  Append binary data to the file.
leftShift(java.lang.Number) - Method in class java.lang.Number
  Implementation of the left shift operator for integral types.
leftShift(java.lang.Object) - Method in class java.lang.Process
  Overloads the left shift operator (<<) to provide an append mechanism to pipe data to a Process.
leftShift(java.lang.String) - Method in class javax.swing.JMenu
  Overloads the left shift operator to provide an easy way to add components to a menu.
leftShift(java.util.Map) - Method in class java.util.Map
  Overloads the left shift operator to provide an easy way to put one maps entries into another map.
leftShift(java.util.Map.Entry) - Method in class java.util.Map
  Overloads the left shift operator to provide an easy way to append Map.Entry values to a Map.
leftShift(javax.swing.AbstractButton) - Method in class javax.swing.ButtonGroup
  Overloads the left shift operator to provide an easy way to add buttons to a ButtonGroup.
leftShift(javax.swing.Action) - Method in class javax.swing.JMenu
  Overloads the left shift operator to provide an easy way to add components to a menu.
leftShift(javax.swing.JMenu) - Method in class javax.swing.JMenuBar
  Overloads the left shift operator to provide an easy way to add menus to a menuBar.
leftShift(javax.swing.JMenuItem) - Method in class javax.swing.JMenu
  Overloads the left shift operator to provide an easy way to add components to a menu.
leftShift(javax.swing.table.TableColumn) - Method in class javax.swing.table.TableColumnModel
  Overloads the left shift operator to provide an easy way to add columns to a TableColumnModel.
leftShift(javax.swing.tree.DefaultMutableTreeNode) - Method in class javax.swing.tree.DefaultMutableTreeNode
  Overloads the left shift operator to provide an easy way to add nodes to a DefaultMutableTreeNode.
leftShift(javax.swing.tree.MutableTreeNode) - Method in class javax.swing.tree.MutableTreeNode
  Overloads the left shift operator to provide an easy way to add nodes to a MutableTreeNode.

## M

matches(java.util.regex.Pattern) - Method in class java.lang.String
  Tells whether or not self matches the given compiled regular expression Pattern.
max() - Method in class java.lang.Object[]
  Adds max() method to Object arrays.
max(groovy.lang.Closure) - Method in class java.lang.Object[]
  Selects the maximum value found from the Object array using the closure to determine the correct ordering.
max(java.util.Comparator) - Method in class java.lang.Object[]
  Selects the maximum value found from the Object array using the given comparator.
metaClass(groovy.lang.Closure) - Method in class java.lang.Class
  Sets/updates the metaclass for a given class to a closure.
min() - Method in class java.lang.Object[]
  Adds min() method to Object arrays.
min(groovy.lang.Closure) - Method in class java.lang.Object[]
  Selects the minimum value found from the Object array using the closure to determine the correct ordering.
min(java.util.Comparator) - Method in class java.lang.Object[]
  Selects the minimum value found from the Object array using the given comparator.
minus(T[]) - Method in class java.lang.Object[]
  Create an array composed of the elements of the first array minus the elements of the given array.
minus(int) - Method in class java.util.Date
  Subtract a number of days from this date and returns the new date.
minus(java.lang.Character) - Method in class java.lang.Character
  Subtract one Character from another.
minus(java.lang.Number) - Method in class java.lang.Character
  Subtract a Number from a Character.
minus(java.lang.Object) - Method in class java.lang.Object[]
  Create a new object array composed of the elements of the first array minus the operand.
minus(java.util.Calendar) - Method in class java.util.Calendar
  Subtract another date from this one and return the number of days of the difference.
minus(java.util.Collection) - Method in class java.lang.Object[]
  Create an array composed of the elements of the first array minus the elements of the given collection.
minus(java.util.Date) - Method in class java.util.Date
  Subtract another Date from this one and return the number of days of the difference.
minus(java.util.Map) - Method in class java.util.Map
  Create a Map composed of the entries of the first map minus the entries of the given map.
mixin(java.lang.Class) - Method in class java.lang.Class
  Extend class globally with category methods.
mixin(java.lang.Class[]) - Method in class java.lang.Class
  Extend class globally with category methods.
mixin(java.util.List) - Method in class java.lang.Class
  Extend class globally with category methods.
mod(java.lang.Number) - Method in class java.lang.Number
  Performs a division modulus operation.
multiply(java.lang.Character) - Method in class java.lang.Character
  Multiply two Characters.
multiply(java.lang.Double) - Method in class java.math.BigDecimal
  Multiply a BigDecimal and a Double.
multiply(java.lang.Number) - Method in class java.lang.Character
  Multiply a Character by a Number.
multiply(java.math.BigInteger) - Method in class java.math.BigDecimal
  Multiply a BigDecimal and a BigInteger.

## N

newDataInputStream() - Method in class java.io.File
  Create a data input stream for this file
newDataOutputStream() - Method in class java.io.File
  Creates a new data output stream for this file.
newInputStream() - Method in class java.io.File
  Creates a buffered input stream for this file.
newInstance() - Method in class java.lang.Class
  Convenience method to dynamically create a new instance of this class.
newInstance(java.lang.Object[]) - Method in class java.lang.Class
  Helper to construct a new instance from the given arguments.
newObjectInputStream() - Method in class java.io.File
  Create an object input stream for this file.
newObjectInputStream(java.lang.ClassLoader) - Method in class java.io.File
  Create an object input stream for this file using the given class loader.
newObjectOutputStream() - Method in class java.io.File
  Create an object output stream for this file.
newOutputStream() - Method in class java.io.File
  Create a buffered output stream for this file.
newPrintWriter() - Method in class java.io.File
  Create a new PrintWriter for this file.
newPrintWriter(java.lang.String) - Method in class java.io.File
  Create a new PrintWriter for this file, using specified charset.
newReader() - Method in class java.io.File
  Create a buffered reader for this file.
newReader(java.lang.String) - Method in class java.io.File
  Create a buffered reader for this file, using the specified charset as the encoding.
newWriter() - Method in class java.io.File
  Create a buffered writer for this file.
newWriter(boolean) - Method in class java.io.File
  Creates a buffered writer for this file, optionally appending to the existing file content.
newWriter(java.lang.String) - Method in class java.io.File
  Creates a buffered writer for this file, writing data using the given encoding.
newWriter(java.lang.String, boolean) - Method in class java.io.File
  Helper method to create a buffered writer for a file.
next() - Method in class java.lang.Character
  Increment a Character by one.
normalize() - Method in class java.lang.String
  Return a String with linefeeds and carriage returns normalized to linefeeds.
numberAwareCompareTo(java.lang.Comparable) - Method in class java.lang.Comparable
  Provides a method that compares two comparables using Groovy's default number aware comparator.

## O

or(java.lang.Boolean) - Method in class java.lang.Boolean
  Logical disjunction of two boolean operators
or(java.lang.Number) - Method in class java.lang.Number
  Bitwise OR together two numbers.
or(java.lang.Process) - Method in class java.lang.Process
  Overrides the or operator to allow one Process to asynchronously pipe data to another Process.
or(java.util.BitSet) - Method in class java.util.BitSet
  Bitwise OR together two BitSets.

## P

padLeft(java.lang.Number) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars` by adding the space character to the left as many times as needed.
padLeft(java.lang.Number, java.lang.String) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars`, adding the supplied padding String as many times as needed to the left.
padRight(java.lang.Number) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars` by adding the space character to the right as many times as needed.
padRight(java.lang.Number, java.lang.String) - Method in class java.lang.String
  Pad a String to a minimum length specified by `numberOfChars`, adding the supplied padding String as many times as needed to the right.
parse(java.lang.String, java.lang.String) - Method in class java.util.Date
  Parse a String into a Date instance using the given pattern.
permutations() - Method in class java.util.List
  Finds all permutations of a collection.
pipeTo(java.lang.Process) - Method in class java.lang.Process
  Allows one Process to asynchronously pipe data to another Process.
plus(T) - Method in class java.util.Collection
  Create a collection as a union of a Collection and an Object.
plus(int) - Method in class java.util.Date
  Add a number of days to this date and returns the new date.
plus(java.lang.Character) - Method in class java.lang.Character
  Add one Character to another.
plus(java.lang.Number) - Method in class java.lang.Character
  Add a Character and a Number.
plus(java.lang.Object) - Method in class java.lang.String
  Appends the String representation of the given operand to this string.
plus(java.lang.String) - Method in class java.lang.Number
  Appends a String to the string representation of this number.
plus(java.util.Collection) - Method in class java.util.Collection
  Create a Collection as a union of two collections.
plus(java.util.Map) - Method in class java.util.Map
  Returns a new `Map` containing all entries from `left` and `right`, giving precedence to `right`.
pop() - Method in class java.util.List
  Removes the last item from the List.
power(java.lang.Integer) - Method in class java.lang.Integer
  Power of an integer to an integer certain exponent.
power(java.lang.Number) - Method in class java.lang.Number
  Power of a Number to a certain exponent.
previous() - Method in class java.lang.Character
  Decrement a Character by one.
print(java.io.PrintWriter) - Method in class java.lang.Object
  Print to a console in interactive format.
print(java.lang.Object) - Method in class java.lang.Object
  Print a value formatted Groovy style to self if it is a Writer, otherwise to the standard output stream.
printf(java.lang.String, java.lang.Object) - Method in class java.lang.Object
  Prints a formatted string using the specified format string and arguments.
printf(java.lang.String, java.lang.Object[]) - Method in class java.lang.Object
  Printf to a console (Only works with JDK1.5 or later).
println() - Method in class java.lang.Object
  Print a linebreak to the standard output stream.
println(java.io.PrintWriter) - Method in class java.lang.Object
  Print to a console in interactive format.
println(java.lang.Object) - Method in class java.lang.Object
  Print a value formatted Groovy style (followed by a newline) to self if it is a Writer, otherwise to the standard output stream.
push(T) - Method in class java.util.List
  Appends an item to the List.
putAll(java.util.Collection) - Method in class java.util.Map
  Provides an easy way to append multiple Map.Entry values to a Map.
putAt(K, V) - Method in class java.util.Map
  A helper method to allow maps to work with subscript operators
putAt(groovy.lang.EmptyRange, java.lang.Object) - Method in class java.lang.StringBuffer
  Support the range subscript operator for StringBuffer.
putAt(groovy.lang.EmptyRange, java.util.Collection) - Method in class java.util.List
  A helper method to allow lists to work with subscript operators.
putAt(groovy.lang.IntRange, boolean) - Method in class java.util.BitSet
  Support assigning a range of values with a single assignment statement.
putAt(groovy.lang.IntRange, java.lang.Object) - Method in class java.lang.StringBuffer
  Support the range subscript operator for StringBuffer.
putAt(groovy.lang.IntRange, java.util.Collection) - Method in class java.util.List
  List subscript assignment operator when given a range as the index and the assignment operand is a collection.
putAt(int, T) - Method in class java.util.List
  A helper method to allow lists to work with subscript operators.
putAt(int, boolean) - Method in class java.util.BitSet
  Support subscript-style assignment for a BitSet.
putAt(int, int) - Method in class java.util.Calendar
  Support the subscript operator for mutating a Calendar.
putAt(int, java.lang.Object) - Method in class javax.swing.DefaultListModel
  Allow DefaultListModel to work with subscript operators.
putAt(int, javax.swing.tree.MutableTreeNode) - Method in class javax.swing.tree.MutableTreeNode
  Allow MutableTreeNode to work with subscript operators.
putAt(java.lang.String, java.lang.Object) - Method in class java.lang.Object
  Allows the subscript operator to be used to set dynamically named property values.
putAt(java.util.List, java.lang.Object) - Method in class java.util.List
  A helper method to allow lists to work with subscript operators.
putAt(java.util.List, java.util.List) - Method in class java.util.List
  A helper method to allow lists to work with subscript operators.

## R

readBytes() - Method in class java.io.File
  Reads the content of the file into a byte array.
readLine() - Method in class java.io.Reader
  Read a single, whole line from the given Reader.
readLines() - Method in class java.lang.String
  Return the lines of a String as a List of Strings.
readLines(java.lang.String) - Method in class java.io.File
  Reads the file into a list of Strings, with one item for each line.
removeAll(T[]) - Method in class java.util.Collection
  Removes all of this collection's elements that are also contained in the specified array.
removeAll(groovy.lang.Closure) - Method in class java.util.Collection
  Removes the elements in this collection that are matched according to the specified closure condition.
renameTo(java.lang.String) - Method in class java.io.File
  Renames the file.
replaceAll(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Replaces all occurrences of a captured group by the result of a closure on that text.
replaceAll(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Replaces all occurrences of a captured group by the result of a closure call on that text.
replaceAll(java.util.regex.Pattern, java.lang.String) - Method in class java.lang.String
  Replaces all substrings of a String that match the given compiled regular expression with the given replacement.
replaceFirst(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Replaces the first occurrence of a captured group by the result of a closure call on that text.
replaceFirst(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Replaces the first occurrence of a captured group by the result of a closure call on that text.
replaceFirst(java.util.regex.Pattern, java.lang.String) - Method in class java.lang.String
  Replaces the first substring of a String that matches the given compiled regular expression with the given replacement.
respondsTo(java.lang.String) - Method in class java.lang.Object

  Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name regardless of the arguments.

respondsTo(java.lang.String, java.lang.Object[]) - Method in class java.lang.Object

  Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name and arguments types.

retainAll(T[]) - Method in class java.util.Collection
  Retains only the elements in this collection that are contained in the specified array.
retainAll(groovy.lang.Closure) - Method in class java.util.Collection
  Retains only the elements in this collection that are matched according to the specified closure condition.
reverse() - Method in class java.lang.Object[]
  Reverse the items in an Object array.
reverseEach(groovy.lang.Closure) - Method in class java.lang.Object[]
  Iterate over each element of the array in the reverse order.
rightShift(java.lang.Number) - Method in class java.lang.Number
  Implementation of the right shift operator for integral types.
rightShiftUnsigned(java.lang.Number) - Method in class java.lang.Number
  Implementation of the right shift (unsigned) operator for integral types.
round() - Method in class java.lang.Double
  Round the value
round(int) - Method in class java.lang.Double
  Round the value
runAfter(int, groovy.lang.Closure) - Method in class java.util.Timer
  Allows a simple syntax for using timers.

## S

set(java.util.Map) - Method in class java.util.Calendar
  Support mutating a Calendar with a Map.
setBytes(byte[]) - Method in class java.io.File
  Write the bytes from the byte array to the File.
setIndex(int) - Method in class java.util.regex.Matcher
  Set the position of the given Matcher to the given index.
setMetaClass(groovy.lang.MetaClass) - Method in class java.lang.Class
  Sets the metaclass for a given class.
setText(java.lang.String) - Method in class java.io.File
  Synonym for write(text) allowing file.text = 'foo'.
setText(java.lang.String, java.lang.String) - Method in class java.io.File
  Synonym for write(text, charset) allowing:

      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 in class java.lang.Object[]
  Provide the standard Groovy `size()` method for an array.
sleep(long) - Method in class java.lang.Object
  Sleep for so many milliseconds, even if interrupted.
sleep(long, groovy.lang.Closure) - Method in class java.lang.Object
  Sleep for so many milliseconds, using a given closure for interrupt processing.
sort() - Method in class java.lang.Object[]
  Sorts the given Object array into sorted order.
sort(groovy.lang.Closure) - Method in class java.lang.Object[]
  Sorts the given Object array into a newly created array using the Closure to determine the correct ordering.
sort(java.util.Comparator) - Method in class java.lang.Object[]
  Sorts the given Object array into sorted order using the given comparator.
split() - Method in class java.lang.String
  Convenience method to split a string (with whitespace as delimiter) Like tokenize, but returns an Array of Strings instead of a List
split(groovy.lang.Closure) - Method in class java.lang.Object
  Splits all items into two lists based on the closure condition.
splitEachLine(java.lang.String, groovy.lang.Closure) - Method in class java.lang.String
  Iterates through the given String line by line, splitting each line using the given separator.
splitEachLine(java.lang.String, java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Iterates through this file line by line, splitting each line using the given regex separator.
splitEachLine(java.util.regex.Pattern, groovy.lang.Closure) - Method in class java.lang.String
  Iterates through the given String line by line, splitting each line using the given separator Pattern.
splitEachLine(java.util.regex.Pattern, java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Iterates through this file line by line, splitting each line using the given regex separator Pattern.
spread() - Method in class java.util.Map
  Synonym for Map#toSpreadMap.
sprintf(java.lang.String, java.lang.Object) - Method in class java.lang.Object
  Returns a formatted string using the specified format string and arguments.
sprintf(java.lang.String, java.lang.Object[]) - Method in class java.lang.Object
  Sprintf to a string (Only works with JDK1.5 or later).
start(groovy.lang.Closure) - Method in class java.lang.Thread
  Start a Thread with the given closure as a Runnable instance.
start(java.lang.String, groovy.lang.Closure) - Method in class java.lang.Thread
  Start a Thread with a given name and the given closure as a Runnable instance.
startDaemon(groovy.lang.Closure) - Method in class java.lang.Thread
  Start a daemon Thread with the given closure as a Runnable instance.
startDaemon(java.lang.String, groovy.lang.Closure) - Method in class java.lang.Thread
  Start a daemon Thread with a given name and the given closure as a Runnable instance.
step(java.lang.Number, java.lang.Number, groovy.lang.Closure) - Method in class java.lang.Number
  Iterates from this number up to the given number using a step increment.
stripIndent() - Method in class java.lang.String

  Strip leading spaces from every line in a String.

stripIndent(int) - Method in class java.lang.String

  Strip `numChar` leading characters from every line in a String.

stripMargin() - Method in class java.lang.String

  Strip leading whitespace/control characters followed by '|' from every line in a String.

stripMargin(char) - Method in class java.lang.String

  Strip leading whitespace/control characters followed by `marginChar` from every line in a String.

stripMargin(java.lang.String) - Method in class java.lang.String

  Strip leading whitespace/control characters followed by `marginChar` from every line in a String.

subMap(java.util.Collection) - Method in class java.util.Map
  Creates a sub-Map containing the given keys.
subsequences() - Method in class java.util.List
  Finds all non-null subsequences of a list.
sum() - Method in class java.lang.Object[]
  Sums the items in an array.
sum(groovy.lang.Closure) - Method in class java.lang.Object[]
  Sums the result of apply a closure to each item of an array.
sum(java.lang.Object) - Method in class java.lang.Object[]
  Sums the items in an array, adding the result to some initial value.
sum(java.lang.Object, groovy.lang.Closure) - Method in class java.lang.Object[]
  Sums the result of applying a closure to each item of an array to some initial value.

## T

tail() - Method in class java.lang.Object[]
  Returns the items from the Object array excluding the first item.
times(groovy.lang.Closure) - Method in class java.lang.Number
  Executes the closure this many times, starting from zero.
toArrayString() - Method in class java.lang.Object[]
  Returns the string representation of the given array.
toBigDecimal() - Method in class java.lang.Number
  Transform a Number into a BigDecimal
toBigInteger() - Method in class java.lang.Number
  Transform this Number into a BigInteger.
toBoolean() - Method in class java.lang.Boolean
  Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.
toCalendar() - Method in class java.util.Date
  Convert a Date to a Calendar.
toCharacter() - Method in class java.lang.String
  Converts the given string into a Character object using the first character in the string.
toDouble() - Method in class java.lang.Number
  Transform a Number into a Double
toFloat() - Method in class java.lang.Number
  Transform a Number into a Float
toInteger() - Method in class java.lang.Number
  Transform a Number into an Integer
toList() - Method in class java.lang.Object[]
  Allows conversion of arrays into a mutable List.
toListString() - Method in class java.util.Collection
  Returns the string representation of the given list.
toListString(int) - Method in class java.util.Collection
  Returns the string representation of the given list.
toLong() - Method in class java.lang.Number
  Transform a Number into a Long
toLowerCase() - Method in class java.lang.Character
  Converts the character to lowercase.
toMapString() - Method in class java.util.Map
  Returns the string representation of this map.
toMapString(int) - Method in class java.util.Map
  Returns the string representation of this map.
toRowResult() - Method in class java.sql.ResultSet
  Returns a GroovyRowResult given a ResultSet.
toShort() - Method in class java.lang.String
  Parse a String into a Short
toSpreadMap() - Method in class java.lang.Object[]
  Creates a spreadable map from this array.
toString() - Method in class java.lang.Object
  Create a String representation of this object.
toTimestamp() - Method in class java.util.Date
  Return a java.sql.Timestamp given a java.util.Date.
toURI() - Method in class java.lang.String
  Transforms a String representing a URI into a URI object.
toURL() - Method in class java.lang.String
  Transforms a String representing a URL into a URL object.
toUpperCase() - Method in class java.lang.Character
  Converts the character to uppercase.
tokenize() - Method in class java.lang.String
  Tokenize a String (with a whitespace as the delimiter).
tokenize(java.lang.Character) - Method in class java.lang.String
  Tokenize a String based on the given character delimiter.
tokenize(java.lang.String) - Method in class java.lang.String
  Tokenize a String based on the given string delimiter.
tr(java.lang.String, java.lang.String) - Method in class java.lang.String
  Translates a string by replacing characters from the sourceSet with characters from replacementSet.
transformChar(java.io.Writer, groovy.lang.Closure) - Method in class java.io.Reader
  Transforms each character from this reader by passing it to the given closure.
transformLine(java.io.Writer, groovy.lang.Closure) - Method in class java.io.Reader
  Transforms the lines from a reader with a Closure and write them to a writer.
transpose() - Method in class java.util.List
  Adds GroovyCollections#transpose(List) as a method on lists.
traverse(groovy.lang.Closure) - Method in class java.io.File
  Invokes the closure for each descendant file in this directory tree.
traverse(java.util.Map) - Method in class java.io.File
  Invokes the closure specified with key 'visit' in the options Map for each descendant file in this directory tree.
traverse(java.util.Map, groovy.lang.Closure) - Method in class java.io.File
  Invokes `closure` for each descendant file in this directory tree.
trunc() - Method in class java.lang.Double
  Truncate the value
trunc(int) - Method in class java.lang.Double
  Truncate the value

## U

unaryMinus() - Method in class java.lang.Number
  Negates the number.
unexpand() - Method in class java.lang.String
  Replaces sequences of whitespaces with tabs using tabStops of size 8.
unexpand(int) - Method in class java.lang.String
  Replaces sequences of whitespaces with tabs.
unexpandLine(int) - Method in class java.lang.String
  Replaces sequences of whitespaces with tabs within a line.
unique() - Method in class java.util.Collection
  Modifies this collection to remove all duplicated items, using the default comparator.
unique(groovy.lang.Closure) - Method in class java.util.Collection
  A convenience method for making a collection unique using a Closure to determine duplicate (equal) items.
unique(java.util.Comparator) - Method in class java.util.Collection
  Remove all duplicates from a given Collection.
updated(java.util.Map) - Method in class java.util.Calendar
  Support creating a new Date having similar properties to an existing Date (which remains unaltered) but with some fields updated according to a Map of changes.
upto(java.lang.Number, groovy.lang.Closure) - Method in class java.lang.Double
  Iterates from this number up to the given number, inclusive, incrementing by one each time.
use(java.lang.Class, groovy.lang.Closure) - Method in class java.lang.Object
  Scoped use method
use(java.lang.Object[]) - Method in class java.lang.Object
  Allows you to use a list of categories, specifying the list as varargs.
use(java.util.List, groovy.lang.Closure) - Method in class java.lang.Object
  Scoped use method with list of categories.

## W

waitForOrKill(long) - Method in class java.lang.Process
  Wait for the process to finish during a certain amount of time, otherwise stops the process.
waitForProcessOutput() - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
waitForProcessOutput(java.io.OutputStream, java.io.OutputStream) - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
waitForProcessOutput(java.lang.Appendable, java.lang.Appendable) - Method in class java.lang.Process
  Gets the output and error streams from a process and reads them to keep the process from blocking due to a full output buffer.
with(groovy.lang.Closure) - Method in class java.lang.Object
  Allows the closure to be called for the object reference self
withDataInputStream(groovy.lang.Closure) - Method in class java.io.File
  Create a new DataInputStream for this file and passes it into the closure.
withDataOutputStream(groovy.lang.Closure) - Method in class java.io.File
  Create a new DataOutputStream for this file and passes it into the closure.
withDefault(groovy.lang.Closure) - Method in class java.util.Map
  Wraps a map using the delegate pattern with a wrapper that intercepts all calls to `get(key)`.
withInputStream(groovy.lang.Closure) - Method in class java.io.File
  Create a new InputStream for this file and passes it into the closure.
withObjectInputStream(groovy.lang.Closure) - Method in class java.io.File
  Create a new ObjectInputStream for this file and pass it to the closure.
withObjectInputStream(java.lang.ClassLoader, groovy.lang.Closure) - Method in class java.io.File
  Create a new ObjectInputStream for this file associated with the given class loader and pass it to the closure.
withObjectOutputStream(groovy.lang.Closure) - Method in class java.io.File
  Create a new ObjectOutputStream for this file and then pass it to the closure.
withObjectStreams(groovy.lang.Closure) - Method in class java.net.Socket
  Creates an InputObjectStream and an OutputObjectStream from a Socket, and passes them to the closure.
withOutputStream(groovy.lang.Closure) - Method in class java.lang.Process
  Creates a new buffered OutputStream as stdin for this process, passes it to the closure, and ensures the stream is flushed and closed after the closure returns.
withPrintWriter(groovy.lang.Closure) - Method in class java.io.File
  Create a new PrintWriter for this file which is then passed it into the given closure.
withPrintWriter(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Create a new PrintWriter with a specified charset for this file.
withReader(groovy.lang.Closure) - Method in class java.io.File
  Create a new BufferedReader for this file and then passes it into the closure, ensuring the reader is closed after the closure returns.
withReader(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Create a new BufferedReader for this file using the specified charset and then passes it into the closure, ensuring the reader is closed after the closure returns.
withStream(groovy.lang.Closure) - Method in class java.io.InputStream
  Allows this input stream to be used within the closure, ensuring that it is flushed and closed before this method returns.
withStreams(groovy.lang.Closure) - Method in class java.net.Socket
  Passes the Socket's InputStream and OutputStream to the closure.
withWriter(groovy.lang.Closure) - Method in class java.lang.Process
  Creates a new BufferedWriter as stdin for this process, passes it to the closure, and ensures the stream is flushed and closed after the closure returns.
withWriter(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Creates a new BufferedWriter for this file, passes it to the closure, and ensures the stream is flushed and closed after the closure returns.
withWriterAppend(groovy.lang.Closure) - Method in class java.io.File
  Create a new BufferedWriter for this file in append mode.
withWriterAppend(java.lang.String, groovy.lang.Closure) - Method in class java.io.File
  Create a new BufferedWriter which will append to this file.
write(groovy.lang.Writable) - Method in class java.io.Writer
  A helper method so that dynamic dispatch of the writer.write(object) method will always use the more efficient Writable.writeTo(writer) mechanism if the object implements the Writable interface.
write(java.lang.String) - Method in class java.io.File
  Write the text to the File.
write(java.lang.String, java.lang.String) - Method in class java.io.File
  Write the text to the File, using the specified encoding.
writeLine(java.lang.String) - Method in class java.io.BufferedWriter
  Write the text and append a newline (using the platform's line-ending).

## X

xor(java.lang.Boolean) - Method in class java.lang.Boolean
  Exclusive disjunction of two boolean operators
xor(java.lang.Number) - Method in class java.lang.Number
  Bitwise XOR together two Numbers.
xor(java.util.BitSet) - Method in class java.util.BitSet
  Bitwise XOR together two BitSets.

A B C D E F G H I J L M N O P R S T U W X

Groovy JDK