- abs() - Method in Double
-
Gets the absolute value.
- abs() - Method in Float
-
Gets the absolute value.
- abs() - Method in Long
-
Gets the absolute value.
- abs() - Method in Number
-
Gets the absolute value.
- AbstractButton - Class in javax.swing
GDK enhancements for AbstractButton.
- AbstractCollection - Class in java.util
GDK enhancements for AbstractCollection.
- AbstractMap - Class in java.util
GDK enhancements for AbstractMap.
- accept(boolean, groovy.lang.Closure) - Method in ServerSocket
-
Accepts a connection and passes the resulting Socket to the closure
which runs in a new Thread or the calling thread, as needed.
- addAll(T) - Method in Collection
-
Modifies the collection by adding all the elements in the specified array
to the collection.
- addAll(int, T) - Method in List
-
Modifies this list by inserting all the elements in the specified array into the
list at the specified position.
- addShutdownHook(groovy.lang.Closure) - Method in Object
-
Allows the usage of addShutdownHook without getting the runtime first.
- allThreads(java.lang.Thread) - Method in Thread
-
Get all threads
- and(java.util.BitSet) - Method in BitSet
-
Bitwise AND together two BitSets.
- and(java.lang.Boolean) - Method in Boolean
-
Logical conjunction of two boolean operators.
- and(java.lang.Number) - Method in Number
-
Bitwise AND together two Numbers.
- and(java.lang.Iterable<T>, java.util.Comparator<? super T>) - Method in Set
-
Creates a Set composed of the intersection of a Set and an Iterable.
- and(java.lang.Iterable<T>, java.util.Comparator<? super T>) - Method in SortedSet
-
Creates a SortedSet composed of the intersection of a SortedSet and an Iterable.
- AnnotatedElement - Interface in java.lang.reflect
GDK enhancements for AnnotatedElement.
- any(groovy.lang.Closure) - Method in Iterable
-
Iterates over the contents of an iterable, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure) - Method in Iterator
-
Iterates over the contents of an iterator, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in Map
-
Iterates over the entries of a map, and checks whether a predicate is
valid for at least one entry.
- any(groovy.lang.Closure) - Method in Object
-
Iterates over the contents of an object or collection, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in Object[]
-
Iterates over the contents of an Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in boolean[]
-
Iterates over the contents of a boolean Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in byte[]
-
Iterates over the contents of a byte Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in char[]
-
Iterates over the contents of a char Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in double[]
-
Iterates over the contents of a double Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in float[]
-
Iterates over the contents of a float Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in int[]
-
Iterates over the contents of an int Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in long[]
-
Iterates over the contents of a long Array, and checks whether a
predicate is valid for at least one element.
- any(groovy.lang.Closure<?>) - Method in short[]
-
Iterates over the contents of a short Array, and checks whether a
predicate is valid for at least one element.
- append(java.io.Reader, java.lang.String, boolean) - Method in File
-
Append the text supplied by the Reader at the end of the File, using a specified encoding.
- append(java.io.Reader, java.lang.String, boolean) - Method in Path
-
Append the text supplied by the Reader at the end of the File, using a specified encoding.
- append(org.codehaus.groovy.runtime.GStringImpl) - Method in StringBuilder
-
Append the GString to the StringBuilder using a more efficient
approach than Java's default approach for a CharSequence.
- Appendable - Interface in java.lang
GDK enhancements for Appendable.
- asBoolean() - Method in AtomicBoolean
-
Coerce an AtomicBoolean instance to a boolean value.
- asBoolean() - Method in Boolean
-
Coerce a Boolean instance to a boolean value.
- asBoolean() - Method in Character
-
Coerce a character to a boolean value.
- asBoolean() - Method in CharSequence
-
Coerces a CharSequence to a boolean value.
- asBoolean() - Method in Collection
-
Coerce a collection instance to a boolean value.
- asBoolean() - Method in Double
-
Coerce a Double instance to a boolean value.
- asBoolean() - Method in Enumeration
-
Coerce an enumeration instance to a boolean value.
- asBoolean() - Method in File
-
Coerce the file to a boolean value.
- asBoolean() - Method in Float
-
Coerce a Float instance to a boolean value.
- asBoolean() - Method in GroovyResultSet
-
Coerce a GroovyResultSet to a boolean value.
- asBoolean() - Method in Iterator
-
Coerce an iterator instance to a boolean value.
- asBoolean() - Method in Map
-
Coerce a map instance to a boolean value.
- asBoolean() - Method in Matcher
-
Coerces a Matcher instance to a boolean value.
- asBoolean() - Method in Number
-
Coerce a number to a boolean value.
- asBoolean() - Method in Object
-
Coerce an object instance to a boolean value.
- asBoolean() - Method in Object[]
-
Coerces an object array to a boolean value.
- asBoolean() - Method in Optional
-
Coerce an Optional instance to a boolean value.
- asBoolean() - Method in Path
-
Coerce the path to a boolean value.
- asBoolean() - Method in boolean[]
-
Coerces a boolean array to a boolean value.
- asBoolean() - Method in byte[]
-
Coerces a byte array to a boolean value.
- asBoolean() - Method in char[]
-
Coerces a char array to a boolean value.
- asBoolean() - Method in double[]
-
Coerces a double array to a boolean value.
- asBoolean() - Method in float[]
-
Coerces a float array to a boolean value.
- asBoolean() - Method in int[]
-
Coerces an int array to a boolean value.
- asBoolean() - Method in long[]
-
Coerces a long array to a boolean value.
- asBoolean() - Method in short[]
-
Coerces a short array to a boolean value.
- asChecked(java.lang.Class<T>) - Method in Collection
-
Creates a checked view of a Collection.
- asChecked(java.lang.Class<T>) - Method in List
-
Creates a checked view of a List.
- asChecked(java.lang.Class<K>, java.lang.Class<V>) - Method in Map
-
Creates a checked view of a Map.
- asChecked(java.lang.Class<K>, java.lang.Class<V>) - Method in NavigableMap
-
Creates a checked view of a NavigableMap.
- asChecked(java.lang.Class<T>) - Method in NavigableSet
-
Creates a checked view of a NavigableSet.
- asChecked(java.lang.Class<T>) - Method in Queue
-
Creates a checked view of a Queue.
- asChecked(java.lang.Class<T>) - Method in Set
-
Creates a checked view of a Set.
- asChecked(java.lang.Class<K>, java.lang.Class<V>) - Method in SortedMap
-
Creates a checked view of a SortedMap.
- asChecked(java.lang.Class<T>) - Method in SortedSet
-
Creates a checked view of a SortedSet.
- asCollection() - Method in Iterable
-
Converts this Iterable to a Collection.
- asImmutable() - Method in Collection
-
A convenience method for creating an immutable Collection.
- asImmutable() - Method in List
-
A convenience method for creating an immutable List.
- asImmutable() - Method in Map
-
A convenience method for creating an immutable Map.
- asImmutable() - Method in Set
-
A convenience method for creating an immutable Set.
- asImmutable() - Method in SortedMap
-
A convenience method for creating an immutable SortedMap.
- asImmutable() - Method in SortedSet
-
A convenience method for creating an immutable SortedSet.
- asList() - Method in Iterable
-
Converts this Iterable to a List.
- asReversed() - Method in List
-
Creates a view list with reversed order, and the order of original list will not change.
- asReversed() - Method in NavigableSet
-
Creates a reverse order view of the set.
- asString() - Method in Throwable
-
Get the detail information of
Throwable instance's stack trace
- asSynchronized() - Method in Collection
-
Creates a synchronized view of a Collection.
- asSynchronized() - Method in List
-
Creates a synchronized view of a List.
- asSynchronized() - Method in Map
-
Creates a synchronized view of a Map.
- asSynchronized() - Method in NavigableMap
-
Creates a synchronized view of a NavigableMap.
- asSynchronized() - Method in NavigableSet
-
Creates a synchronized view of a NavigableSet.
- asSynchronized() - Method in Set
-
Creates a synchronized view of a Set.
- asSynchronized() - Method in SortedMap
-
Creates a synchronized view of a SortedMap.
- asSynchronized() - Method in SortedSet
-
Creates a synchronized view of a SortedSet.
- asType(java.lang.Class<T>) - Method in CharSequence
-
Provides a method to perform custom 'dynamic' type conversion
to the given class using the as operator.
- asType(java.lang.Class<T>) - Method in Closure
-
Coerces the closure to an implementation of the given class.
- asType(java.lang.Class<T>) - Method in Collection
-
Converts the given collection to another type.
- asType(java.lang.Class<T>) - Method in File
-
Converts this File to a
Writable or delegates to default
DefaultGroovyMethods#asType(java.lang.Object, java.lang.Class).
- asType(java.lang.Class<T>) - Method in GString
-
- asType(java.lang.Class<T>) - Method in Iterable
-
Converts the given iterable to another type.
- asType(java.lang.Class<T>) - Method in Map
-
Coerces this map to the given type, using the map's keys as the public
method names, and values as the implementation.
- asType(java.lang.Class<T>) - Method in Node
-
Enables node as Type coercion for XML Nodes.
- asType(java.lang.Class<T>) - Method in Number
-
Transform this number to the given type, using the 'as' operator.
- asType(java.lang.Class<T>) - Method in Object
-
Converts a given object to a type.
- asType(java.lang.Class<T>) - Method in Object[]
-
Converts the given array to either a List, Set, or SortedSet.
- asType(java.lang.Class<T>) - Method in Path
-
- asType(java.lang.Class<T>) - Method in String
-
Provides a method to perform custom 'dynamic' type conversion
to the given class using the as operator.
- asUnmodifiable() - Method in Collection
-
Creates an unmodifiable view of a Collection.
- asUnmodifiable() - Method in List
-
Creates an unmodifiable view of a List.
- asUnmodifiable() - Method in Map
-
Creates an unmodifiable view of a Map.
- asUnmodifiable() - Method in NavigableMap
-
Creates an unmodifiable view of a NavigableMap.
- asUnmodifiable() - Method in NavigableSet
-
Creates an unmodifiable view of a NavigableSet.
- asUnmodifiable() - Method in Set
-
Creates an unmodifiable view of a Set.
- asUnmodifiable() - Method in SortedMap
-
Creates an unmodifiable view of a SortedMap.
- asUnmodifiable() - Method in SortedSet
-
Creates an unmodifiable view of a SortedSet.
- asWritable(java.lang.String) - Method in File
-
Allows a file to return a Writable implementation that can output itself
to a Writer stream.
- asWritable(java.lang.String) - Method in Path
-
Allows a file to return a Writable implementation that can output itself
to a Writer stream.
- AtomicBoolean - Class in java.util.concurrent.atomic
GDK enhancements for AtomicBoolean.
- average(groovy.lang.Closure) - Method in Iterable
-
Averages the result of applying a closure to each item of an Iterable.
- average(groovy.lang.Closure) - Method in Iterator
-
Averages the result of applying a closure to each item returned from an iterator.
- average(groovy.lang.Closure<?>) - Method in Object[]
-
Averages the result of applying a closure to each item of an array.
- average() - Method in byte[]
-
Calculates the average of the bytes in the array.
- average() - Method in double[]
-
Calculates the average of the doubles in the array.
- average() - Method in float[]
-
Calculates the average of the floats in the array.
- average() - Method in int[]
-
Calculates the average of the ints in the array.
- average() - Method in long[]
-
Calculates the average of the longs in the array.
- average() - Method in short[]
-
Calculates the average of the shorts in the array.
- Calendar - Class in java.util
GDK enhancements for Calendar.
- capitalize() - Method in CharSequence
-
Convenience method to capitalize the first letter of a CharSequence
(typically the first letter of a word).
- center(java.lang.Number, java.lang.CharSequence) - Method in CharSequence
-
Pad a CharSequence to a minimum length specified by numberOfChars, appending the supplied padding CharSequence around the original as many times as needed keeping it centered.
- Character - Class in java.lang
GDK enhancements for Character.
- CharSequence - Interface in java.lang
GDK enhancements for CharSequence.
- chop(boolean, int) - Method in Iterable
-
Chops the Iterable into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(boolean, java.util.Iterator<java.lang.Integer>) - Method in Iterator
-
Chops the source iterator elements into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in Object[]
-
Chops the array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in boolean[]
-
Chops the boolean array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in byte[]
-
Chops the byte array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in char[]
-
Chops the char array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in double[]
-
Chops the double array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in float[]
-
Chops the float array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in int[]
-
Chops the int array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in long[]
-
Chops the long array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop(int) - Method in short[]
-
Chops the short array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- ChronoPeriod - Interface in java.time.chrono
GDK enhancements for ChronoPeriod.
- Class - Class in java.lang
GDK enhancements for Class.
- ClassLoader - Class in java.lang
GDK enhancements for ClassLoader.
- clear() - Method in Container
-
Removes all components from the Container.
- clear() - Method in DefaultComboBoxModel
-
Removes all items from the model.
- clear() - Method in DefaultListModel
-
Removes all elements from the DefaultListModel.
- clear() - Method in DefaultMutableTreeNode
-
Removes all children nodes from the DefaultMutableTreeNode.
- clear() - Method in JComboBox
-
Removes all items from the JComboBox.
- clear() - Method in JTabbedPane
-
Removes all elements from the JTabbedPane.
- clearTime() - Method in 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.
- clearTime() - Method in Date
-
Clears the time portion of this Date instance; useful utility where
it makes sense to compare month/day/year only portions of a Date.
- clearTime() - Method in LocalDateTime
-
- clearTime() - Method in OffsetDateTime
-
- clearTime() - Method in ZonedDateTime
-
- closeStreams() - Method in Process
-
Closes all the streams associated with the process (ignoring any IOExceptions).
- Closure - Class in groovy.lang
GDK enhancements for Closure.
- collate(int, int, boolean) - Method in Iterable
-
Collates this iterable into sub-lists of length size stepping through the code step
elements for each sub-list.
- collate(int) - Method in Iterator
-
Collates this iterator into sub-lists of length size including
any remaining elements as the last sub-list.
- collate(int, int, boolean) - Method in Object[]
-
Collates this array into sub-lists.
- collect(groovy.lang.Closure<T>) - Method in Future
-
Returns a Future asynchronously returning a transformed result.
- collect(C, groovy.lang.Closure<? extends T>) - Method in Iterable
-
Iterates through this collection transforming each value into a new value using the transform closure
and adding it to the supplied collector.
- collect() - Method in Iterator
-
Convert an iterator to a List.
- collect(groovy.lang.Closure<T>) - Method in Map
-
Iterates through this Map transforming each map entry into a new value using the transform closure
returning a list of transformed values.
- collect(C, groovy.lang.Closure<? extends T>) - Method in Object
-
Iterates through this aggregate Object transforming each item into a new value using the transform closure
and adding it to the supplied collector.
- collect(C, groovy.lang.Closure<? extends T>) - Method in Object[]
-
Iterates through this Array transforming each item into a new value using the transform closure
and adding it to the supplied collector.
- collect(groovy.lang.Closure<T>) - Method in Optional
-
If a value is present in the Optional, returns transformed value
obtained using the transform closure or no value as an optional.
- collectEntries(java.util.Map<K,V>) - Method in Iterable
-
A variant of collectEntries for Iterables using the identity closure as the
transform and a supplied map as the destination of transformed entries.
- collectEntries(java.util.Map<K,V>) - Method in Iterator
-
A variant of collectEntries for Iterators using the identity closure as the
transform and a supplied map as the destination of transformed entries.
- collectEntries(java.util.function.Function<? super X,K>, java.util.function.Function<? super Y,V>) - Method in Map
-
A variant of collectEntries for Maps with separate functions for transforming the keys and values.
- collectEntries(java.util.Map<K,V>, java.util.function.Function<? super E,K>, java.util.function.Function<? super E,V>) - Method in Object[]
-
A variant of collectEntries for arrays with separate functions for transforming the keys and values.
- collecting(groovy.lang.Closure<T>) - Method in Iterator
-
Returns an iterator of transformed values from the source iterator using the
transform closure.
- collectingEntries(groovy.lang.Closure<?>) - Method in Iterator
-
Returns an iterator of transformed values from the source iterator using the
transform closure.
- collectingMany(groovy.lang.Closure<? extends java.util.Collection<? extends T>>) - Method in Iterator
-
Iterates through the elements produced by projecting and flattening the elements from a source iterator.
- Collection - Interface in java.util
GDK enhancements for Collection.
- collectKeys(java.util.function.Function<? super K,K>) - Method in Map
-
Transform a Maps' keys leaving the values unchanged.
- collectMany(C, groovy.lang.Closure<? extends java.util.Collection<? extends T>>) - Method in Iterable
-
Projects each item from a source collection to a result collection and concatenates (flattens) the resulting
collections adding them into the collector.
- collectMany() - Method in Iterator
-
Flattens an iterator of collections into a single list.
- collectMany(groovy.lang.Closure<? extends java.util.Collection<? extends T>>) - Method in Map
-
Projects each item from a source map to a result collection and concatenates (flattens) the resulting
collections adding them into a collection.
- collectMany(C, groovy.lang.Closure<? extends java.util.Collection<? extends T>>) - Method in Object[]
-
Projects each item from a source array to a collection and concatenates (flattens) the resulting collections into a single list.
- collectNested(groovy.lang.Closure) - Method in Collection
-
Recursively iterates through this collection transforming each non-Collection value
into a new value using the closure as a transformer.
- collectNested(C, groovy.lang.Closure) - Method in Iterable
-
Recursively iterates through this Iterable transforming each non-Collection value
into a new value using the transform closure.
- collectReplacements(java.util.List<java.util.function.Function<java.lang.Character,java.util.Optional<java.lang.String>>>) - Method in String
-
Iterates through this String a character at a time collecting either the
original character or a transformed replacement String.
- collectValues(java.util.function.Function<? super V,V>) - Method in Map
-
Transform a Maps' values leaving the keys unchanged.
- column(int) - Method in double[][]
-
Select a column from a 2D array.
- column(int) - Method in float[][]
-
Select a column from a 2D array.
- column(int) - Method in int[][]
-
Select a column from a 2D array.
- column(int) - Method in long[][]
-
Select a column from a 2D array.
- combinations(groovy.lang.Closure<T>) - Method in Iterable
-
Finds all combinations of items from the given aggregate of collections,
then returns the results of the supplied transform.
- Comparable - Interface in java.lang
GDK enhancements for Comparable.
- compareTo(java.lang.Character) - Method in Character
-
Compares two Characters.
- compareTo(java.lang.Number) - Method in Number
-
Compares two Numbers.
- consumeProcessErrorStream(java.lang.Appendable) - Method in Process
-
Gets the error stream from a process and reads it
to keep the process from blocking due to a full buffer.
- consumeProcessOutput(java.io.OutputStream, java.io.OutputStream) - Method in 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 Process
-
Gets the output stream from a process and reads it
to keep the process from blocking due to a full output buffer.
- Container - Class in java.awt
GDK enhancements for Container.
- contains(java.lang.CharSequence) - Method in CharSequence
-
Provides an implementation of contains() like
Collection.contains to make CharSequences more polymorphic.
- contains(java.lang.Object) - Method in Iterable
-
Returns true if this iterable contains the item.
- contains(java.lang.Object) - Method in Object[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in boolean[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in byte[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in char[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in double[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in float[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in int[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in long[]
-
Checks whether the array contains the given value.
- contains(java.lang.Object) - Method in short[]
-
Checks whether the array contains the given value.
- containsAll(java.lang.Object) - Method in Iterable
-
Returns true if this iterable contains all the elements
in the specified array.
- containsIgnoreCase(java.lang.CharSequence) - Method in CharSequence
-
Checks whether this CharSequence contains the searchString ignoring the caseConsiderations.
- copyWith(java.util.Map<java.lang.Object,java.lang.Integer>) - Method in 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.
- copyWith(java.util.Map<java.lang.Object,java.lang.Integer>) - Method in Date
-
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.
- count(java.lang.CharSequence) - Method in CharSequence
-
Counts the number of occurrences of a sub CharSequence.
- count(E, groovy.lang.Closure) - Method in Iterable
-
Counts the number of occurrences which satisfy the given closure from inside this Iterable.
- count(E, groovy.lang.Closure) - Method in Iterator
-
Counts the number of occurrences which satisfy the given closure from the
items within this Iterator, adding the count to the initial count.
- count(E, groovy.lang.Closure<?>) - Method in Map
-
Counts the number of occurrences which satisfy the given closure from inside this map.
- count(groovy.lang.Closure<?>) - Method in Object[]
-
Counts the number of occurrences which satisfy the given closure from inside this array.
- count(java.lang.Object) - Method in boolean[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in byte[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in char[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in double[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in float[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in int[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in long[]
-
Counts the number of occurrences of the given value inside this array.
- count(java.lang.Object) - Method in short[]
-
Counts the number of occurrences of the given value inside this array.
- countBy() - Method in Iterable
-
Creates a multiset-like map of the collection members.
- countBy() - Method in Iterator
-
Creates a multiset-like map of the iterator members.
- countBy(groovy.lang.Closure<K>) - Method in Map
-
Groups the members of a map into groups determined by the
supplied mapping closure and counts the frequency of the created groups.
- countBy() - Method in Object[]
-
Creates a multiset-like map of the array members.
- createParentDirectories() - Method in File
-
Creates, if needed, any parent directories for this File.
- createParentDirectories(java.nio.file.attribute.FileAttribute<?>) - Method in Path
-
Creates, if needed, any parent directories for the file associated with this Path.
- createTempDir(java.io.File, java.lang.String, java.lang.String) - Method in File
-
- currentTimeSeconds(java.lang.System) - Method in System
-
Get the current time in seconds
- DataInputStream - Class in java.io
GDK enhancements for DataInputStream.
- Date - Class in java.util
GDK enhancements for Date.
- DayOfWeek - Class in java.time
GDK enhancements for DayOfWeek.
- debug(java.lang.String, java.lang.Object) - Method in System.Logger
-
Convenience method for logging debug level messages with the platform logger.
- decodeBase64() - Method in String
-
Decode the String from Base64 into a byte array.
- decodeBase64Url() - Method in String
-
Decodes a Base64 URL and Filename Safe encoded String into a byte array.
- decodeHex() - Method in String
-
Decodes a hex string to a byte array.
- DefaultComboBoxModel - Class in javax.swing
GDK enhancements for DefaultComboBoxModel.
- DefaultListModel - Class in javax.swing
GDK enhancements for DefaultListModel.
- DefaultMutableTreeNode - Class in javax.swing.tree
GDK enhancements for DefaultMutableTreeNode.
- DefaultTableModel - Class in javax.swing.table
GDK enhancements for DefaultTableModel.
- deleteDir() - Method in File
-
Deletes a directory with all contained files and subdirectories.
- deleteDir() - Method in Path
-
Deletes a directory with all contained files and subdirectories.
- denormalize() - Method in CharSequence
-
Return a CharSequence with lines (separated by LF, CR/LF, or CR)
terminated by the platform specific line separator.
- Deque - Interface in java.util
GDK enhancements for Deque.
- digest(java.lang.String) - Method in CharSequence
-
digest the CharSequence instance
- digest(java.lang.String) - Method in byte[]
-
digest the byte array
- directorySize() - Method in File
-
Calculates directory size as total size of all its files, recursively.
- disjoint(java.lang.Iterable) - Method in Iterable
-
Returns true if the intersection of two iterables is empty.
- div(java.lang.Character) - Method in Character
-
Divide one Character by another.
- div(long) - Method in Duration
-
- div(java.lang.Number) - Method in Number
-
Divide two Numbers.
- Double - Class in java.lang
GDK enhancements for Double.
- DoubleStream - Interface in java.util.stream
GDK enhancements for DoubleStream.
- doubleStream() - Method in double[]
-
Returns a sequential DoubleStream with the specified array as its
source.
- downto(java.lang.Number, groovy.lang.Closure) - Method in BigDecimal
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in BigInteger
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.util.Calendar, groovy.lang.Closure) - Method in Calendar
-
Iterates from the date represented by this calendar up to the date represented
by the given calendar, inclusive, incrementing by one day each time.
- downto(java.util.Date, groovy.lang.Closure) - Method in Date
-
Iterates from this date down to the given date, inclusive,
decrementing by one day each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in Double
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in Float
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in Long
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in Number
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in double
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in float
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.lang.Number, groovy.lang.Closure) - Method in long
-
Iterates from this number down to the given number, inclusive,
decrementing by one each time.
- downto(java.time.temporal.Temporal, java.time.temporal.TemporalUnit, groovy.lang.Closure) - Method in Temporal
-
Iterates from this to the
to Temporal, inclusive, decrementing by one
unit each iteration, calling the closure once per iteration.
- drain() - Method in Queue
-
Drain the queue of elements, returning them as a list.
- drop(int) - Method in CharSequence
-
Drops the given number of chars from the head of this CharSequence
if they are available.
- drop(int) - Method in GString
-
A GString variant of the equivalent CharSequence method.
- drop(int) - Method in Iterable
-
Drops the given number of elements from the head of this Iterable.
- drop(int) - Method in Iterator
-
Drops the given number of elements from the head of this iterator if they are available.
- drop(int) - Method in List
-
Drops the given number of elements from the head of this List.
- drop(int) - Method in Map
-
Drops the given number of key/value pairs from the head of this map if they are available.
- drop(int) - Method in Object[]
-
Drops the given number of elements from the head of this array
if they are available.
- drop(int) - Method in SortedSet
-
Drops the given number of elements from the head of this List.
- drop(int) - Method in String
-
A String variant of the equivalent CharSequence method.
- dropRight(int) - Method in CharSequence
-
Returns new CharSequence after removing the right num chars.
- dropRight(int) - Method in GString
-
- dropRight(int) - Method in Iterable
-
Drops the given number of elements from the tail of this Iterable.
- dropRight(int) - Method in Iterator
-
Drops the given number of elements from the tail of this Iterator.
- dropRight(int) - Method in List
-
Drops the given number of elements from the tail of this List.
- dropRight(int) - Method in Object[]
-
Drops the given number of elements from the tail of this array
if they are available.
- dropRight(int) - Method in SortedSet
-
Drops the given number of elements from the tail of this SortedSet.
- dropRight(int) - Method in String
-
- dropWhile(groovy.lang.Closure) - Method in CharSequence
-
Creates a suffix of the given CharSequence by dropping as many characters as possible from the
front of the original CharSequence such that calling the given closure condition evaluates to
true when passed each of the dropped characters.
- dropWhile(groovy.lang.Closure) - Method in GString
-
A GString variant of the equivalent CharSequence method.
- dropWhile(groovy.lang.Closure) - Method in Iterable
-
Returns a suffix of this Iterable where elements are dropped from the front
while the given closure evaluates to true.
- dropWhile(groovy.lang.Closure<?>) - Method in Iterator
-
Creates an Iterator that returns a suffix of the elements from an original Iterator.
- dropWhile(groovy.lang.Closure) - Method in List
-
Returns a suffix of this List where elements are dropped from the front
while the given Closure evaluates to true.
- dropWhile(groovy.lang.Closure) - Method in Map
-
Create a suffix of the given Map by dropping as many entries as possible from the
front of the original Map such that calling the given closure condition evaluates to
true when passed each of the dropped entries (or key/value pairs).
- dropWhile(groovy.lang.Closure<?>) - Method in Object[]
-
Create a suffix of the given array by dropping as many elements as possible from the
front of the original array such that calling the given closure condition evaluates to
true when passed each of the dropped elements.
- dropWhile(groovy.lang.Closure) - Method in SortedSet
-
Returns a suffix of this SortedSet where elements are dropped from the front
while the given Closure evaluates to true.
- dump() - Method in Object
-
Generates a detailed dump string of an object showing its class,
hashCode and all accessible fields.
- dumpAll(java.lang.Thread) - Method in Thread
-
Dump the thread dump of all threads
- Duration - Class in java.time
GDK enhancements for Duration.
- each(groovy.lang.Closure) - Method in Collection
-
Iterates through a Collection, passing each item to the given closure.
- each(groovy.lang.Closure) - Method in Iterable
-
Iterates through an Iterable, passing each item to the given closure.
- each(groovy.lang.Closure) - Method in Iterator
-
Iterates through an Iterator, passing each item to the given closure.
- each(groovy.lang.Closure) - Method in List
-
Iterates through a List, passing each item to the given closure.
- each(groovy.lang.Closure<?>) - Method in Map
-
Allows a Map to be iterated through using a closure.
- each(groovy.lang.Closure) - Method in Object
-
Iterates through an aggregate type or data structure,
passing each item to the given closure.
- each(groovy.lang.Closure<?>) - Method in Object[]
-
Iterates through an array passing each array entry to the given closure.
- each(java.util.function.Consumer<java.lang.Boolean>) - Method in boolean[]
-
Iterates through a boolean[] passing each boolean to the given consumer.
- each(java.util.function.Consumer<java.lang.Byte>) - Method in byte[]
-
Iterates through a byte[] passing each byte to the given consumer.
- each(java.util.function.Consumer<java.lang.Character>) - Method in char[]
-
Iterates through a char[] passing each char to the given consumer.
- each(java.util.function.DoubleConsumer) - Method in double[]
-
Iterates through a double[] passing each double to the given consumer.
- each(java.util.function.Consumer<java.lang.Float>) - Method in float[]
-
Iterates through a float[] passing each float to the given consumer.
- each(java.util.function.IntConsumer) - Method in int[]
-
Iterates through an int[] passing each int to the given consumer.
- each(java.util.function.LongConsumer) - Method in long[]
-
Iterates through a long[] passing each long to the given consumer.
- each(java.util.function.Consumer<java.lang.Short>) - Method in short[]
-
Iterates through a short[] passing each short to the given consumer.
- each(groovy.lang.Closure) - Method in Set
-
Iterates through a Set, passing each item to the given closure.
- each(groovy.lang.Closure) - Method in SortedSet
-
Iterates through a SortedSet, passing each item to the given closure.
- eachByte(groovy.lang.Closure<?>) - Method in Byte[]
-
Traverses through each byte of this Byte array.
- eachByte(int, groovy.lang.Closure) - Method in File
-
Traverse through the bytes of this File, bufferLen bytes at a time.
- eachByte(int, groovy.lang.Closure) - Method in InputStream
-
Traverse through each the specified stream reading bytes into a buffer
and calling the 2 parameter closure with this buffer and the number of bytes.
- eachByte(int, groovy.lang.Closure) - Method in Path
-
Traverse through the bytes of this Path, bufferLen bytes at a time.
- eachByte(groovy.lang.Closure<?>) - Method in byte[]
-
Traverses through each byte of this byte array.
- eachByte(int, groovy.lang.Closure) - Method in URL
-
Reads the InputStream from this URL, passing a byte[] and a number of bytes
to the given closure.
- eachColumn(groovy.lang.Closure<?>) - Method in double[][]
-
Process the columns of the array.
- eachColumn(groovy.lang.Closure<?>) - Method in float[][]
-
Process the columns of the array.
- eachColumn(groovy.lang.Closure<?>) - Method in int[][]
-
Process the columns of the array.
- eachColumn(groovy.lang.Closure<?>) - Method in long[][]
-
Process the columns of the array.
- eachCombination(groovy.lang.Closure<?>) - Method in Iterable
-
Applies a function on each combination of the input lists.
- eachDir(groovy.lang.Closure) - Method in File
-
Invokes the closure for each subdirectory in this directory,
ignoring regular files.
- eachDir(groovy.lang.Closure) - Method in Path
-
Invokes the closure for each subdirectory in this directory,
ignoring regular files.
- eachDirMatch(java.lang.Object, groovy.lang.Closure) - Method in File
-
Invokes the closure for each subdirectory whose name (dir.name) matches the given nameFilter in the given directory
- calling the DefaultGroovyMethods#isCase(java.lang.Object, java.lang.Object) method to determine if a match occurs.
- eachDirMatch(java.lang.Object, groovy.lang.Closure) - Method in Path
-
Invokes the closure for each subdirectory whose name (dir.name) matches the given nameFilter in the given directory
- calling the DefaultGroovyMethods#isCase(java.lang.Object, java.lang.Object) method to determine if a match occurs.
- eachDirRecurse(groovy.lang.Closure) - Method in File
-
Recursively processes each descendant subdirectory in this directory.
- eachDirRecurse(groovy.lang.Closure) - Method in Path
-
Recursively processes each descendant subdirectory in this directory.
- eachFile(groovy.lang.Closure) - Method in File
-
Invokes the closure for each 'child' file in this 'parent' folder/directory.
- eachFile(groovy.lang.Closure) - Method in Path
-
Invokes the closure for each 'child' file in this 'parent' folder/directory.
- eachFileMatch(java.lang.Object, groovy.lang.Closure) - Method in File
-
Invokes the closure for each file whose name (file.name) matches the given nameFilter in the given directory
- calling the DefaultGroovyMethods#isCase(java.lang.Object, java.lang.Object) method to determine if a match occurs.
- eachFileMatch(java.lang.Object, groovy.lang.Closure) - Method in Path
-
Invokes the closure for each file whose name (file.name) matches the given nameFilter in the given directory
- calling the
DefaultGroovyMethods.isCase method to determine if a match occurs.
- eachFileRecurse(groovy.lang.Closure) - Method in File
-
Processes each descendant file in this directory and any subdirectories.
- eachFileRecurse(groovy.lang.Closure) - Method in Path
-
Processes each descendant file in this directory and any subdirectories.
- eachLine(int, groovy.lang.Closure<T>) - Method in CharSequence
-
Iterates through this CharSequence line by line.
- eachLine(java.lang.String, int, groovy.lang.Closure<T>) - Method in File
-
Iterates through this file line by line.
- eachLine(int, groovy.lang.Closure<T>) - Method in InputStream
-
Iterates through this stream, passing each line to the given 1 or 2 arg closure.
- eachLine(java.lang.String, int, groovy.lang.Closure<T>) - Method in Path
-
Iterates through this file line by line.
- eachLine(int, groovy.lang.Closure<T>) - Method in Reader
-
Iterates through the given reader line by line.
- eachLine(java.lang.String, int, groovy.lang.Closure<T>) - Method in URL
-
Iterates through the lines read from the URL's associated input stream passing each
line to the given 1 or 2 arg closure.
- eachMatch(java.util.regex.Pattern, groovy.lang.Closure) - Method in Object
-
Processes each regex group matched substring of the given pattern.
- eachMatch(java.lang.String, groovy.lang.Closure) - Method in String
-
Process each regex group matched substring of the given string.
- eachObject(groovy.lang.Closure) - Method in File
-
Iterates through the given file object by object.
- eachObject(groovy.lang.Closure) - Method in ObjectInputStream
-
Iterates through the given object stream object by object.
- eachObject(groovy.lang.Closure) - Method in Path
-
Iterates through the given file object by object.
- eachPermutation(groovy.lang.Closure) - Method in Iterable
-
Iterates over all permutations of a collection, running a closure for each iteration.
- eachWithIndex(groovy.lang.Closure) - Method in Collection
-
Iterates through a Collection,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure) - Method in Iterable
-
Iterates through an iterable type,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure) - Method in Iterator
-
Iterates through an iterator type,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure) - Method in List
-
Iterates through a List,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in Map
-
Allows a Map to be iterated through using a closure.
- eachWithIndex(groovy.lang.Closure) - Method in 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.
- eachWithIndex(groovy.lang.Closure<?>) - Method in Object[]
-
Iterates through an array, passing each array element and the element's
index (a counter starting at zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in boolean[]
-
Iterates through a boolean[],
passing each boolean and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in byte[]
-
Iterates through a byte[],
passing each byte and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in char[]
-
Iterates through a char[],
passing each char and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in double[]
-
Iterates through a double[],
passing each double and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in float[]
-
Iterates through a float[],
passing each float and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in int[]
-
Iterates through an int[],
passing each int and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in long[]
-
Iterates through a long[],
passing each long and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure<?>) - Method in short[]
-
Iterates through a short[],
passing each short and the element's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure) - Method in Set
-
Iterates through a Set,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- eachWithIndex(groovy.lang.Closure) - Method in SortedSet
-
Iterates through a SortedSet,
passing each item and the item's index (a counter starting at
zero) to the given closure.
- Element - Interface in org.w3c.dom
GDK enhancements for Element.
- encodeBase64() - Method in Byte[]
-
Produce a Writable object which writes the Base64 encoding of the byte array.
- encodeBase64() - Method in byte[]
-
Produce a Writable object which writes the Base64 encoding of the byte array.
- encodeBase64Url(boolean) - Method in Byte[]
-
Produce a Writable object which writes the Base64 URL and Filename Safe encoding of the byte array.
- encodeBase64Url(boolean) - Method in byte[]
-
Produce a Writable object which writes the Base64 URL and Filename Safe encoding of the byte array.
- encodeHex() - Method in Byte[]
-
Produces a Writable that writes the hex encoding of the Byte[].
- encodeHex() - Method in byte[]
-
Produces a Writable that writes the hex encoding of the byte[].
- endsWithAny(java.lang.CharSequence) - Method in CharSequence
-
Tests if this CharSequence ends with any specified suffixes.
- endsWithIgnoreCase(java.lang.CharSequence) - Method in CharSequence
-
Checks whether this CharSequence ends with the searchString ignoring the case considerations.
- Enum - Class in java.lang
GDK enhancements for Enum.
- Enumeration - Interface in java.util
GDK enhancements for Enumeration.
- equals(java.util.List) - Method in List
-
Compare the contents of two Lists.
- equals(java.util.Map) - Method in Map
-
Compares two Maps treating coerced numerical values as identical.
- equals(java.util.List<?>) - Method in Object[]
-
Determines if the contents of this array are equal to the
contents of the given list, in the same order.
- equals(boolean[]) - Method in boolean[]
-
Compares the contents of this array to the contents of the given array.
- equals(byte[]) - Method in byte[]
-
Compares the contents of this array to the contents of the given array.
- equals(char[]) - Method in char[]
-
Compares the contents of this array to the contents of the given array.
- equals(double[]) - Method in double[]
-
Compares the contents of this array to the contents of the given array.
- equals(float[]) - Method in float[]
-
Compares the contents of this array to the contents of the given array.
- equals(int[]) - Method in int[]
-
Compares the contents of this array to the contents of the given array.
- equals(long[]) - Method in long[]
-
Compares the contents of this array to the contents of the given array.
- equals(short[]) - Method in short[]
-
Compares the contents of this array to the contents of the given array.
- equals(java.util.Set<T>) - Method in Set
-
Compare the contents of two Sets for equality using Groovy's coercion rules.
- equalsIgnoreZeroSign(java.lang.Object) - Method in Double
-
Compares this object against the specified object returning the same result
as
Double.equals but returning true if this object
and the specified object are both zero and negative zero respectively or vice versa.
- equalsIgnoreZeroSign(java.lang.Object) - Method in Float
-
Compares this object against the specified object returning the same result
as
Float.equals but returning true if this object
and the specified object are both zero and negative zero respectively or vice versa.
- error(java.lang.String, java.lang.Object) - Method in System.Logger
-
Convenience method for logging error level messages with the platform logger.
- eval(java.io.Reader, groovy.lang.Binding) - Method in ScriptEngine
-
Same as eval(ScriptEngine, Reader, Binding) except that the
source of the script is provided as a Reader
- every(groovy.lang.Closure) - Method in Iterable
-
Used to determine if the given predicate closure is valid (i.e. returns
true for all items in this iterable).
- every(groovy.lang.Closure) - Method in Iterator
-
Used to determine if the given predicate closure is valid (i.e. returns
true for all items in this iterator).
- every(groovy.lang.Closure) - Method in Map
-
Iterates over the entries of a map, and checks whether a predicate is
valid for all entries.
- every() - Method in 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 Object[]
-
Used to determine if the given predicate closure is valid (i.e. returns
true for all items in this Array).
- every(groovy.lang.Closure<?>) - Method in boolean[]
-
Iterates over the contents of a boolean Array, and checks whether a
predicate is valid for every element.
- every(groovy.lang.Closure<?>) - Method in byte[]
-
Iterates over the contents of a byte Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in char[]
-
Iterates over the contents of a char Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in double[]
-
Iterates over the contents of a double Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in float[]
-
Iterates over the contents of a float Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in int[]
-
Iterates over the contents of an int Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in long[]
-
Iterates over the contents of a long Array, and checks whether a
predicate is valid for all elements.
- every(groovy.lang.Closure<?>) - Method in short[]
-
Iterates over the contents of a short Array, and checks whether a
predicate is valid for all elements.
- execute(java.util.Map<java.lang.String,java.lang.Object>) - Method in List
-
Executes the command specified by the given list with options
provided as named parameters.
- execute(java.util.Map<java.lang.String,java.lang.Object>) - Method in String
-
Executes the command specified by self with options provided
as named parameters.
- execute(java.util.Map<java.lang.String,java.lang.Object>) - Method in String[]
-
Executes the command specified by the given String array with options
provided as named parameters.
- ExecutorService - Interface in java.util.concurrent
GDK enhancements for ExecutorService.
- exists(java.nio.file.LinkOption) - Method in Path
-
Tests whether the file at the path exists.
- expand(int) - Method in CharSequence
-
Expands all tabs into spaces.
- expandLine(int) - Method in CharSequence
-
Expands all tabs into spaces.
- File - Class in java.io
GDK enhancements for File.
- filter(java.lang.Class<T>) - Method in Optional
-
Tests given value against specified type and changes generics of result.
- filter(java.util.function.DoublePredicate) - Method in OptionalDouble
-
If a value is present in the OptionalDouble, tests the value using
the given predicate and returns the optional if the test returns true or
empty otherwise.
- filter(java.util.function.IntPredicate) - Method in OptionalInt
-
If a value is present in the OptionalInt, tests the value using
the given predicate and returns the optional if the test returns true or
else empty.
- filter(java.util.function.LongPredicate) - Method in OptionalLong
-
If a value is present in the OptionalLong, tests the value using
the given predicate and returns the optional if the test returns true or
else empty.
- filterLine(java.io.Writer, java.lang.String, groovy.lang.Closure) - Method in 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 InputStream
-
Uses a closure to filter lines from this InputStream and pass them to
the given writer.
- filterLine(java.io.Writer, java.lang.String, groovy.lang.Closure) - Method in Path
-
Filter the lines from this Path, and write them to the given writer based
on the given closure predicate.
- filterLine(groovy.lang.Closure) - Method in Reader
-
Filter the lines from this Reader, and return a Writable which can be
used to stream the filtered lines to a destination.
- filterLine(java.io.Writer, java.lang.String, groovy.lang.Closure) - Method in URL
-
Uses a closure to filter lines from this URL and pass them to
the given writer.
- find(java.util.regex.Pattern, groovy.lang.Closure) - Method in CharSequence
-
Returns the result of calling a closure with the first occurrence of a compiled regular expression found within a String.
- find() - Method in Collection
-
Finds the first item matching the IDENTITY Closure (i.e. matching Groovy truth).
- find(groovy.lang.Closure<?>) - Method in Map
-
Finds the first entry matching the closure condition.
- find() - Method in Object
-
Finds the first item matching the IDENTITY Closure (i.e. matching Groovy truth).
- find(groovy.lang.Closure<?>) - Method in Object[]
-
Finds the first element in the array that matches the given closure condition.
- findAll(java.util.regex.Pattern, groovy.lang.Closure<T>) - Method in CharSequence
-
Finds all occurrences of a compiled regular expression Pattern within a CharSequence.
- findAll() - Method in Collection
-
Finds the items matching the IDENTITY Closure (i.e. matching Groovy truth).
- findAll() - Method in List
-
Finds the items matching the IDENTITY Closure (i.e. matching Groovy truth).
- findAll(groovy.lang.Closure) - Method in Map
-
Finds all entries matching the closure condition.
- findAll() - Method in Object
-
Finds all items matching the IDENTITY Closure (i.e. matching Groovy truth).
- findAll(groovy.lang.Closure<?>) - Method in Object[]
-
Finds all elements of the array matching the given Closure condition.
- findAll() - Method in Set
-
Finds the items matching the IDENTITY Closure (i.e. matching Groovy truth).
- findIndexOf(int, groovy.lang.Closure) - Method in Iterable
-
Iterates over the elements of an Iterable, starting from a
specified startIndex, and returns the index of the first item that satisfies the
condition specified by the closure.
- findIndexOf(int, groovy.lang.Closure) - Method in Iterator
-
Iterates over the elements of an Iterator, starting from a
specified startIndex, and returns the index of the first item that satisfies the
condition specified by the closure.
- findIndexOf(int, groovy.lang.Closure) - Method in Object
-
Iterates over the elements of an aggregate of items, starting from a
specified startIndex, and returns the index of the first item that matches the
condition specified in the closure.
- findIndexOf(int, groovy.lang.Closure<?>) - Method in Object[]
-
Iterates over the elements of an array, starting from a specified index,
and returns the index of the first item that satisfies the condition
specified by the closure.
- findIndexValues(java.lang.Number, groovy.lang.Closure) - Method in Iterable
-
Iterates over the elements of an Iterable, starting from
a specified startIndex, 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 Iterator
-
Returns an iterator of transformed values from the source iterator using the
transform closure and starting with index startIndex.
- findIndexValues(java.lang.Number, groovy.lang.Closure) - Method in Object
-
Iterates over the elements of an aggregate of items, starting from
a specified startIndex, 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 Object[]
-
Iterates over the elements of an array, starting from a specified index,
and returns the index values of the items that match the condition
specified in the closure.
- findingAll(groovy.lang.Closure<?>) - Method in Iterator
-
Lazily finds all items matching the closure condition.
- findingResults(groovy.lang.Closure<T>) - Method in Iterator
-
Iterates through the Iterator transforming items using the supplied closure
and finding any non-null results.
- findLastIndexOf(int, groovy.lang.Closure) - Method in Iterable
-
Iterates over the elements of an Iterable, starting
from a specified startIndex, and returns the index of the last item that
matches the condition specified in the closure.
- findLastIndexOf(int, groovy.lang.Closure) - Method in Iterator
-
Iterates over the elements of an Iterator, starting
from a specified startIndex, and returns the index of the last item that
matches the condition specified in the closure.
- findLastIndexOf(int, groovy.lang.Closure) - Method in Object
-
Iterates over the elements of an aggregate of items, starting
from a specified startIndex, and returns the index of the last item that
matches the condition specified in the closure.
- findLastIndexOf(int, groovy.lang.Closure<?>) - Method in Object[]
-
Returns the index of the last item that matches the specified condition
that is at or beyond the given index.
- findResult() - Method in Iterable
-
Iterates through the Iterable stopping once the first non-null
result is found and returning that result.
- findResult() - Method in Iterator
-
Iterates through the Iterator stopping once the first non-null
result is found and returning that result.
- findResult(U, groovy.lang.Closure<V>) - Method in Map
-
Returns the first non-null closure result found by passing each map entry to the closure, otherwise the defaultResult is returned.
- findResult(java.lang.Object) - Method in Object
-
Treats the object as iterable, iterating through the values it represents and returns the first non-null result, otherwise returns the defaultResult.
- findResult(U, groovy.lang.Closure<V>) - Method in Object[]
-
Iterates through the Array calling the given closure condition for each item but stopping once the first non-null
result is found and returning that result.
- findResults() - Method in Iterable
-
Iterates through the Iterable collecting any non-null results.
- findResults() - Method in Iterator
-
Iterates through the Iterator collecting any non-null results.
- findResults(groovy.lang.Closure<T>) - Method in Map
-
Iterates through the map transforming items using the supplied closure
and collecting any non-null results.
- findResults(groovy.lang.Closure<T>) - Method in Object[]
-
Iterates through the Array transforming items using the supplied closure
and collecting any non-null results.
- first() - Method in Iterable
-
Returns the first item from the Iterable.
- first() - Method in List
-
Returns the first item from the List.
- first() - Method in Object[]
-
Returns the first item from the array.
- first() - Method in boolean[]
-
Returns the first item from the boolean array.
- first() - Method in byte[]
-
Returns the first item from the byte array.
- first() - Method in char[]
-
Returns the first item from the char array.
- first() - Method in double[]
-
Returns the first item from the double array.
- first() - Method in float[]
-
Returns the first item from the float array.
- first() - Method in int[]
-
Returns the first item from the int array.
- first() - Method in long[]
-
Returns the first item from the long array.
- first() - Method in short[]
-
Returns the first item from the short array.
- flatten() - Method in Collection
-
Flatten a Collection.
- flatten(boolean, groovy.lang.Closure<?>) - Method in Iterable
-
Flatten an Iterable.
- flatten(boolean, groovy.lang.Closure<?>) - Method in Iterator
-
Flatten an Iterator.
- flatten() - Method in List
-
Flatten a List.
- flatten() - Method in Object[]
-
Flattens an array.
- flatten() - Method in Optional
-
Flatten an Optional.
- flatten() - Method in boolean[]
-
Flattens an array.
- flatten() - Method in boolean[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in byte[]
-
Flattens an array.
- flatten() - Method in byte[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in char[]
-
Flattens an array.
- flatten() - Method in char[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in double[]
-
Flattens an array.
- flatten() - Method in double[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in float[]
-
Flattens an array.
- flatten() - Method in float[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in int[]
-
Flattens an array.
- flatten() - Method in int[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in long[]
-
Flattens an array.
- flatten() - Method in long[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in short[]
-
Flattens an array.
- flatten() - Method in short[][]
-
Flattens a 2D array into a new collection.
- flatten() - Method in Set
-
Flatten a Set.
- flatten() - Method in SortedSet
-
Flatten a SortedSet.
- flattenMany(groovy.lang.Closure<?>) - Method in Iterable
-
Flatten an Iterable.
- flattenMany(boolean, groovy.lang.Closure<?>) - Method in Iterator
-
Flatten the elements from an Iterator.
- flattenMany(groovy.lang.Closure<?>) - Method in Object[]
-
Flatten an array.
- Float - Class in java.lang
GDK enhancements for Float.
- format(java.lang.String) - Method in Calendar
-
- format(java.lang.String, java.util.TimeZone) - Method in Date
-
- format(java.time.format.FormatStyle) - Method in LocalDate
-
Formats this date in the provided, localized
FormatStyle.
- format(java.time.format.FormatStyle) - Method in LocalDateTime
-
Formats this date/time in the provided, localized
FormatStyle.
- format(java.time.format.FormatStyle) - Method in LocalTime
-
Formats this time in the provided, localized
FormatStyle.
- format(java.time.format.FormatStyle) - Method in OffsetDateTime
-
Formats this date/time in the provided, localized
FormatStyle.
- format(java.time.format.FormatStyle) - Method in OffsetTime
-
Formats this time in the provided, localized
FormatStyle.
- format(java.time.format.FormatStyle) - Method in ZonedDateTime
-
Formats this date/time in the provided, localized
FormatStyle.
- from(groovy.lang.EmptyRange) - Method in Stream
-
Returns an empty stream.
- Future - Interface in java.util.concurrent
GDK enhancements for Future.
- get(K, V) - Method in Map
-
Looks up an item in a Map for the given key and returns the corresponding value.
- get() - Method in OptionalDouble
-
If a value is present in the OptionalDouble, returns the value.
- get() - Method in OptionalInt
-
If a value is present in the OptionalInt, returns the value.
- get() - Method in OptionalLong
-
If a value is present in the OptionalLong, returns the value.
- getAt(groovy.lang.IntRange) - Method in BitSet
-
Support retrieving a subset of a BitSet using a Range
- getAt(int) - Method in ButtonGroup
-
Support the subscript operator for ButtonGroup.
- getAt(java.util.Collection) - Method in Calendar
-
Support the subscript operator for a Calendar with a collection of indices.
- getAt(groovy.lang.Range) - Method in CharSequence
-
Supports the range subscript operator for CharSequence.
- getAt(java.lang.String) - Method in Collection
-
Support the subscript operator for Collection.
- getAt(int) - Method in Container
-
Support the subscript operator for Container.
- getAt(java.util.Collection) - Method in Date
-
Support the subscript operator for a Date with a collection of indices.
- getAt(groovy.lang.Range) - Method in GString
-
Supports the range subscript operator for GString.
- getAt(int) - Method in Iterable
-
Support the subscript operator for an Iterable.
- getAt(int) - Method in Iterator
-
Support the subscript operator for an Iterator.
- getAt(int) - Method in JComboBox
-
Support the subscript operator for JComboBox.
- getAt(int) - Method in JMenu
-
Support the subscript operator for JMenu.
- getAt(int) - Method in JMenuBar
-
Support the subscript operator for JMenuBar.
- getAt(int) - Method in JTabbedPane
-
Support the subscript operator for JTabbedPane.
- getAt(int) - Method in JToolBar
-
Support the subscript operator for JToolBar.
- getAt(java.lang.Number) - Method in List
-
Support subscript operator for list access.
- getAt(int) - Method in ListModel
-
Support the subscript operator for ListModel.
- getAt(groovy.lang.EmptyRange) - Method in ListWithDefault
-
Support the range subscript operator for an eager or lazy List.
- getAt(java.lang.Object) - Method in Map
-
Support the subscript operator for a Map.
- getAt(int) - Method in Matcher
-
Supports the subscript operator, e.g.
- getAt(java.lang.String) - Method in Object
-
Allows the subscript operator to be used to lookup dynamic property values.
- getAt(java.util.Collection<?>) - Method in Object[]
-
Selects a List of items from an array using a Collection to
identify the indices to be selected.
- getAt(int) - Method in Optional
-
If a value is present in the Optional, returns the value or null.
- getAt(java.util.Collection<?>) - Method in boolean[]
-
Supports the subscript operator for a boolean array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in byte[]
-
Supports the subscript operator for a byte array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in char[]
-
Supports the subscript operator for a char array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in double[]
-
Supports the subscript operator for a double array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in float[]
-
Supports the subscript operator for a float array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in int[]
-
Supports the subscript operator for an int array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in long[]
-
Supports the subscript operator for a long array
with a (potentially nested) collection giving the desired indices.
- getAt(java.util.Collection<?>) - Method in short[]
-
Supports the subscript operator for a short array
with a (potentially nested) collection giving the desired indices.
- getAt(groovy.lang.EmptyRange) - Method in Stream
-
Returns an empty list.
- getAt(groovy.lang.Range) - Method in String
-
Supports the range subscript operator for String.
- getAt(int) - Method in TableColumnModel
-
Support the subscript operator for TableColumnModel.
- getAt(int) - Method in TableModel
-
Support the subscript operator for TableModel.
- getAt(java.lang.Iterable<java.time.temporal.TemporalField>) - Method in TemporalAccessor
-
Supports the getAt operator for an iterable; equivalent to collecting the
TemporalAccessor.getLong method
for each field in the supplied iterable.
- getAt(java.time.temporal.TemporalUnit) - Method in TemporalAmount
-
- getAt(int) - Method in TreeNode
-
Support the subscript operator for TreeNode.
- getAt(int) - Method in TreePath
-
Support the subscript operator for TreePath.
- getAt(java.time.temporal.TemporalField) - Method in ZoneOffset
-
- getBaseName() - Method in File
-
Provide the file's name without an extension.
- getBaseName() - Method in Path
-
Provide the path's name without an extension.
- getBundle(java.util.ResourceBundle, java.lang.String, java.util.Locale) - Method in ResourceBundle
-
Works exactly like ResourceBundle.getBundle(String, Locale).
- getBytes() - Method in File
-
Read the content of the File and returns it as a byte[].
- getBytes() - Method in InputStream
-
Read the content of this InputStream and return it as a byte[].
- getBytes() - Method in Path
-
Read the content of the Path and returns it as a byte[].
- getBytes(java.util.Map<java.lang.String,?>) - Method in URL
-
Read the content of this URL and returns it as a byte[].
- getBytesAsync() - Method in Path
-
Asynchronously read the content of the Path and return it as a byte array.
- getChars() - Method in CharSequence
-
Converts the given CharSequence into an array of characters.
- getCodePoints() - Method in CharSequence
-
Converts the given CharSequence into an array of code point values including any surrogate pairs
as per
String.codePoints.
- getCount() - Method in Matcher
-
Finds the number of Strings matched to the given Matcher.
- getDateString() - Method in Date
-
- getDateString() - Method in LocalDate
-
- getDateString() - Method in LocalDateTime
-
- getDateString() - Method in OffsetDateTime
-
- getDateString() - Method in ZonedDateTime
-
- getDateTimeString() - Method in Date
-
- getDateTimeString() - Method in LocalDateTime
-
- getDateTimeString() - Method in OffsetDateTime
-
- getDateTimeString() - Method in ZonedDateTime
-
- getEra() - Method in Year
-
- getErr() - Method in 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.
- getExtension() - Method in File
-
Provide the extension of this file.
- getExtension() - Method in Path
-
Provide the extension of this path.
- getFullName(java.util.Locale) - Method in ZoneId
-
Returns the name of this zone formatted according to the
TextStyle.FULL text style
for the provided
Locale.
- getGroovydoc() - Method in AnnotatedElement
-
Gets runtime groovydoc.
- getHours() - Method in ZoneOffset
-
Returns the hours component of this offset.
- getIn() - Method in 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.
- getIndices() - Method in Collection
-
Returns indices of the collection.
- getIndices() - Method in Object[]
-
Returns indices of the array.
- getIndices() - Method in boolean[]
-
Returns indices of the boolean array.
- getIndices() - Method in byte[]
-
Returns indices of the byte array.
- getIndices() - Method in char[]
-
Returns indices of the char array.
- getIndices() - Method in double[]
-
Returns indices of the double array.
- getIndices() - Method in float[]
-
Returns indices of the float array.
- getIndices() - Method in int[]
-
Returns indices of the int array.
- getIndices() - Method in long[]
-
Returns indices of the long array.
- getIndices() - Method in short[]
-
Returns indices of the short array.
- getLastMatcher(java.util.regex.Matcher) - Method in Matcher
-
Get the last hidden matcher that the system used to do a match.
- getLength() - Method in StringBuffer
-
Provides a
getLength alias for
length for
StringBuffer,
supporting assignment arithmetic operator expressions involving
the otherwise write-only length property.
- getLength() - Method in StringBuilder
-
Provides a
getLength alias for
length for
StringBuilder,
supporting assignment arithmetic operator expressions involving
the otherwise write-only length property.
- getLocation() - Method in Class
-
Gets the url of the jar file/source file containing the specified class.
- getMetaClass() - Method in Class
-
Adds a "metaClass" property to all class objects so you can use the syntax
String.metaClass.myMethod = { println "foo" }
- getMetaClass() - Method in GroovyObject
-
Obtains a MetaClass for an object either from the registry or in the case of
a GroovyObject from the object itself.
- getMetaClass() - Method in Object
-
Obtains a MetaClass for an object either from the registry or in the case of
a GroovyObject from the object itself.
- getMetaPropertyValues() - Method in 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'.
- getMinutes() - Method in ZoneOffset
-
Returns the minutes component of this offset.
- getName() - Method in Path
-
Provide the name of the file or directory.
- getOffset(java.time.Instant) - Method in ZoneId
-
- getOut() - Method in 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.
- getPid() - Method in Runtime
-
Get the pid of the current Java process
- getProperties() - Method in Object
-
Convenience method that calls
Object.getMetaPropertyValues(self)
and provides the data in form of simple key/value pairs, i.e. without
type() information.
- getRootLoader() - Method in ClassLoader
-
Iterates through the classloader parents until it finds a loader with a class
named "org.codehaus.groovy.tools.RootLoader".
- getSeconds() - Method in ZoneOffset
-
Returns the seconds component of this offset.
- getShortName(java.util.Locale) - Method in ZoneId
-
Returns the name of this zone formatted according to the
TextStyle.SHORT text style
for the provided
Locale.
- getText() - Method in BufferedReader
-
Read the content of the BufferedReader and return it as a String.
- getText() - Method in File
-
Read the content of the File and returns it as a String.
- getText(java.lang.String) - Method in InputStream
-
Read the content of this InputStream using specified charset and return
it as a String.
- getText() - Method in Path
-
Read the content of the Path and returns it as a String.
- getText() - Method in Process
-
Read the text of the output stream of the Process.
- getText() - Method in Reader
-
Read the content of the Reader and return it as a String.
- getText(java.util.Map<java.lang.String,?>, java.lang.String) - Method in URL
-
Read the data from this URL and return it as a String.
- getTextAsync(java.lang.String) - Method in Path
-
Asynchronously read the content of the Path and return it as a String
using the specified charset.
- getTimeString() - Method in Date
-
- getTimeString() - Method in LocalDateTime
-
- getTimeString() - Method in LocalTime
-
- getTimeString() - Method in OffsetDateTime
-
- getTimeString() - Method in OffsetTime
-
- getTimeString() - Method in ZonedDateTime
-
- getYearOfEra() - Method in Year
-
- getZoneId() - Method in Calendar
-
Returns the Time Zone of the Calendar as a java.time.ZoneId.
- getZoneId() - Method in Date
-
Returns the Time Zone of the Date as a
ZoneId.
- getZoneOffset() - Method in Calendar
-
Returns the Time Zone offset of the Calendar as a
ZoneOffset.
- getZoneOffset() - Method in Date
-
Returns the Time Zone offset of the Date as a
ZoneOffset,
which will typically be system's default offset.
- grep() - Method in Collection
-
Iterates over the collection returning each element that matches
using the IDENTITY Closure as a filter - effectively returning all elements which satisfy Groovy truth.
- grep() - Method in List
-
Iterates over the collection returning each element that matches
using the IDENTITY Closure as a filter - effectively returning all elements which satisfy Groovy truth.
- grep() - Method in Object
-
Iterates over the collection of items which this Object represents and returns each item that matches
using the IDENTITY Closure as a filter - effectively returning all elements which satisfy Groovy truth.
- grep(java.lang.Object) - Method in Object[]
-
Iterates over the array of items and returns a collection of items that match
the given filter - calling the DefaultGroovyMethods#isCase(Object,Object)#isCase(Object,Object)
method used by switch statements.
- grep() - Method in Set
-
Iterates over the collection returning each element that matches
using the IDENTITY Closure as a filter - effectively returning all elements which satisfy Groovy truth.
- GroovyObject - Interface in groovy.lang
GDK enhancements for GroovyObject.
- GroovyResultSet - Class in groovy.sql
GDK enhancements for GroovyResultSet.
- groovyToString() - Method in Collection
-
Returns Groovy's default string representation for a Collection.
- groovyToString() - Method in Element
-
Returns Groovy's default string representation for an XML Element.
- groovyToString() - Method in Map
-
Returns Groovy's default string representation for a Map.
- groovyToString() - Method in Object[]
-
Returns Groovy's list-like string representation for an Object array.
- groovyToString() - Method in boolean[]
-
Returns Groovy's list-like string representation for a boolean array.
- groovyToString() - Method in byte[]
-
Returns Groovy's list-like string representation for a byte array.
- groovyToString() - Method in char[]
-
Returns Groovy's string representation for a char array.
- groovyToString() - Method in double[]
-
Returns Groovy's list-like string representation for a double array.
- groovyToString() - Method in float[]
-
Returns Groovy's list-like string representation for a float array.
- groovyToString() - Method in int[]
-
Returns Groovy's list-like string representation for an int array.
- groovyToString() - Method in long[]
-
Returns Groovy's list-like string representation for a long array.
- groovyToString() - Method in short[]
-
Returns Groovy's list-like string representation for a short array.
- groovyToString() - Method in Range
-
Returns Groovy's default string representation for a Range.
- groupBy(java.util.List<groovy.lang.Closure>) - Method in Iterable
-
Sorts all Iterable members into (sub)groups determined by the supplied
mapping closures.
- groupBy(java.util.List<groovy.lang.Closure>) - Method in Map
-
Groups the members of a map into sub maps determined by the supplied
mapping closures.
- groupBy(java.util.List<groovy.lang.Closure<?>>) - Method in Object[]
-
Sorts all array members into (sub)groups determined by the supplied
mapping closures as per the list variant of this method.
- groupByMany(groovy.lang.Closure<? extends U>, groovy.lang.Closure<? extends java.lang.Iterable<? extends K>>) - Method in Iterable
-
Groups all elements from the iterable into (sub)groups determined by the supplied key mapping closure.
- groupByMany() - Method in Map
-
Groups all keys from the map into (sub)groups determined by the values.
- groupByMany(groovy.lang.Closure<? extends U>, groovy.lang.Closure<? extends java.lang.Iterable<? extends K>>) - Method in Object[]
-
Groups all members from the array into (sub)groups determined by the supplied key mapping closure.
- groupEntriesBy(groovy.lang.Closure<G>) - Method in Map
-
Groups all map entries into groups determined by the
supplied mapping closure.
- GString - Class in groovy.lang
GDK enhancements for GString.
- identity(groovy.lang.Closure<T>) - Method in Object
-
Allows the closure to be called for the object reference self.
- implies(java.lang.Boolean) - Method in Boolean
-
Logical implication of two boolean operands.
- indexed(int) - Method in Iterable
-
Zips an Iterable with indices in (index, value) order.
- indexed(int) - Method in Iterator
-
Zips an iterator with indices in (index, value) order.
- indexed(int) - Method in Object[]
-
Zips an object array with indices in (index, value) order starting from a given index.
- indexed(int) - Method in double[]
-
Zips a double[] with indices in (index, value) order starting from a given index.
- indexed(int) - Method in float[]
-
Zips a float[] with indices in (index, value) order starting from a given index.
- indexed(int) - Method in int[]
-
Zips an int[] with indices in (index, value) order starting from a given index.
- indexed(int) - Method in long[]
-
Zips a long[] with indices in (index, value) order starting from a given index.
- indexOf(java.lang.Object) - Method in Object[]
-
Returns the index of the first occurrence of the specified element in the
array.
- info(java.lang.String, java.lang.Object) - Method in System.Logger
-
Convenience method for logging info level messages with the platform logger.
- init() - Method in Iterable
-
Returns the items from the Iterable excluding the last item.
- init() - Method in Iterator
-
Returns an Iterator containing all the items from this iterator except the last one.
- init() - Method in List
-
Returns the items from the List excluding the last item.
- init() - Method in Object[]
-
Returns the items from the Object array excluding the last item.
- init() - Method in boolean[]
-
Returns the items from the boolean array excluding the last item.
- init() - Method in byte[]
-
Returns the items from the byte array excluding the last item.
- init() - Method in char[]
-
Returns the items from the char array excluding the last item.
- init() - Method in double[]
-
Returns the items from the double array excluding the last item.
- init() - Method in float[]
-
Returns the items from the float array excluding the last item.
- init() - Method in int[]
-
Returns the items from the int array excluding the last item.
- init() - Method in long[]
-
Returns the items from the long array excluding the last item.
- init() - Method in short[]
-
Returns the items from the short array excluding the last item.
- init() - Method in SortedSet
-
Returns the items from the SortedSet excluding the last item.
- inits() - Method in Iterable
-
Calculates the init values of this Iterable: the first value will be this list of all items from the iterable and the final one will be an empty list, with the intervening values the results of successive applications of init on the items.
- inject(U, groovy.lang.Closure<V>) - Method in Iterable
-
Iterates through the given object, passing in the initial value to
the 2-arg closure along with the first item.
- inject(U, groovy.lang.Closure<V>) - Method in Iterator
-
Iterates through the given iterator, passing in the initial value to
the closure along with the first item.
- inject(U, groovy.lang.Closure<W>) - Method in Map
-
Iterates through the given map, passing in the initial value to
the 2-arg Closure along with the first item (or 3-arg Closure along with the first key and value).
- inject(U, groovy.lang.Closure<V>) - Method in Object
-
Iterates through the given object, passing in the initial value to
the closure along with the first item.
- inject(U, groovy.lang.Closure<V>) - Method in Object[]
-
Iterates through the given array, passing in the initial value and the
first element to the closure.
- injectAll(groovy.lang.Closure<V>) - Method in Iterable
-
Iterates through the given iterable, injecting values as per inject
but returns the list of all calculated values instead of just the final result.
- injectAll(groovy.lang.Closure<V>) - Method in Iterator
-
Iterates through the given iterator, injecting values as per inject
but returns the list of all calculated values instead of just the final result.
- injectAll(U, groovy.lang.Closure<W>) - Method in Map
-
Iterates through the given map, passing in the initial value to
the 2-arg Closure along with the first item (or 3-arg Closure along with the first key and value)
and then similarly for other map entries.
- injectAll(U, groovy.lang.Closure<V>) - Method in Object[]
-
Iterates through the given array, injecting values as per inject
but returns the list of all calculated values instead of just the final result.
- InputStream - Class in java.io
GDK enhancements for InputStream.
- inspect() - Method in Object
-
Inspects returns the String that matches what would be typed into a
terminal to create this object.
- Instant - Class in java.time
GDK enhancements for Instant.
- intdiv(java.lang.Character) - Method in Character
-
Integer Divide two Characters.
- intdiv(java.lang.Number) - Method in Number
-
Integer Divide two Numbers.
- Integer - Class in java.lang
GDK enhancements for Integer.
- interleave(java.lang.Iterable<V>, boolean) - Method in Iterable
-
The elements from two Iterables interleaved.
- interleave(java.util.Iterator<V>, boolean) - Method in Iterator
-
An iterator of the elements from two Iterators interleaved.
- intersect(java.util.Collection<T>, java.util.Comparator<? super T>) - Method in Collection
-
Create a Collection composed of the intersection of both collections.
- intersect(java.lang.Iterable<T>, groovy.lang.Closure) - Method in Iterable
-
Create a Collection composed of the intersection of both iterables.
- intersect(java.lang.Iterable<T>, java.util.Comparator<? super T>) - Method in List
-
Create a List composed of the intersection of a List and an Iterable.
- intersect(java.util.Map<K,V>) - Method in Map
-
Create a Map composed of the intersection of both maps.
- intersect(java.lang.Iterable<T>, java.util.Comparator<? super T>) - Method in Set
-
Create a Set composed of the intersection of a Set and an Iterable.
- intersect(java.lang.Iterable<T>, java.util.Comparator<? super T>) - Method in SortedSet
-
Create a SortedSet composed of the intersection of a SortedSet and an Iterable.
- IntStream - Interface in java.util.stream
GDK enhancements for IntStream.
- intStream() - Method in int[]
-
Returns a sequential IntStream with the specified array as its
source.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Object
-
Provide a dynamic method invocation method which can be overloaded in
classes to implement dynamic proxies easily.
- is(java.lang.Object) - Method in Object
-
Identity check.
- isAllWhitespace() - Method in CharSequence
-
Returns true if a CharSequence only contains whitespace characters.
- isAtLeast(java.lang.String) - Method in BigDecimal
-
Compare a BigDecimal to a String representing a number.
- isAtLeast(java.lang.String) - Method in String
-
Compares a String representing a number to another.
- isBigDecimal() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a BigDecimal.
- isBigInteger() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a BigInteger.
- isBlank() - Method in CharSequence
-
Tests if this CharSequence is blank.
- isCase(java.lang.Object) - Method in CharSequence
-
'Case' implementation for a CharSequence, which uses equals between the
toString() of the caseValue and the switchValue.
- isCase(java.lang.Object) - Method in Class
-
Special 'case' implementation for Class, which allows testing
whether some switch value is assignable from the given case class.
- isCase(java.lang.Object) - Method in Collection
-
Special 'case' implementation for collections which tests if the 'switch'
operand is contained in any of the 'case' values.
- isCase(java.lang.Object) - Method in Iterable
-
Special 'case' implementation for iterables which tests if the 'switch'
operand is contained in any of the 'case' values.
- isCase(java.lang.Object) - Method in Map
-
Special 'case' implementation for maps which tests if the 'switch' operand
exists in the key set.
- isCase(java.lang.Number) - Method in 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 Object
-
Method for overloading the behavior of the 'case' method in switch statements.
- isCase(java.lang.Object) - Method in Pattern
-
'Case' implementation for the
Pattern class, which allows
testing a String against a number of regular expressions.
- isDigit() - Method in Character
-
Determines if a character is a digit.
- isDouble() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a Double.
- isEmpty() - Method in Iterable
-
Check whether an
Iterable has elements
def items = [1]
def iterable = { [ hasNext:{ !
- isFloat() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a Float.
- isInteger() - Method in CharSequence
-
Determines if a CharSequence can be parsed as an Integer.
- isLetter() - Method in Character
-
Determines if a character is a letter.
- isLetterOrDigit() - Method in Character
-
Determines if a character is a letter or digit.
- isLong() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a Long.
- isLowerCase() - Method in Character
-
Determines if a Character is lowercase.
- isNonnegative() - Method in ChronoPeriod
-
Returns true if this period is zero or positive.
- isNonnegative() - Method in Duration
-
Returns true if this duration is zero or positive.
- isNonpositive() - Method in ChronoPeriod
-
Returns true if this period is zero or negative.
- isNonpositive() - Method in Duration
-
Returns true if this duration is zero or negative.
- isNotCase(java.lang.Object) - Method in CharSequence
-
- isNotCase(java.lang.Object) - Method in Class
-
- isNotCase(java.lang.Object) - Method in Closure
-
- isNotCase(java.lang.Object) - Method in Collection
-
- isNotCase(java.lang.Object) - Method in Map
-
- isNotCase(java.lang.Number) - Method in Number
-
- isNotCase(java.lang.Object) - Method in Object
-
- isNotCase(java.lang.Object) - Method in Pattern
-
- isNumber() - Method in CharSequence
-
Determines if a CharSequence can be parsed as a Number.
- isPositive() - Method in ChronoPeriod
-
Returns true if this period is positive, excluding zero.
- isPositive() - Method in Duration
-
Returns true if this duration is positive, excluding zero.
- isSorted(groovy.lang.Closure) - Method in Iterable
-
Determines if the Iterable is sorted using the given Closure to determine order.
- isSorted(groovy.lang.Closure) - Method in Iterator
-
Determines if the Iterator elements are sorted using the given Closure to determine order.
- isSorted(groovy.lang.Closure) - Method in Map
-
Determines if the Map entries are sorted using the given Closure to determine order.
- isSorted(groovy.lang.Closure<?>) - Method in Object[]
-
Determines if the array is sorted using the given Closure to determine order.
- isUpperCase() - Method in Character
-
Determines if a Character is uppercase.
- isWeekday() - Method in DayOfWeek
-
Returns true if the DayOfWeek is a weekday.
- isWeekend() - Method in DayOfWeek
-
Returns true if this day of the week is a weekend day (Saturday or Sunday).
- isWhitespace() - Method in Character
-
Determines if a character is a whitespace character.
- Iterable - Interface in java.lang
GDK enhancements for Iterable.
- Iterator - Interface in java.util
GDK enhancements for Iterator.
- iterator() - Method in ButtonGroup
-
Returns an
Iterator which traverses the ButtonGroup one AbstractButton at a time.
- iterator() - Method in Container
-
Returns an
Iterator which traverses the Container one Component at a time.
- iterator() - Method in DataInputStream
-
Standard iterator for a data input stream which iterates through the
stream content a Byte at a time.
- iterator() - Method in DefaultListModel
-
Returns an
Iterator which traverses the DefaultListModel one element at a time.
- iterator() - Method in DefaultTableModel
-
Returns an
Iterator which traverses the DefaultTableModel one item at a time.
- iterator() - Method in Enumeration
-
Allows an Enumeration to behave like an Iterable.
- iterator() - Method in InputStream
-
Standard iterator for an input stream which iterates through the stream
content in a byte-based fashion.
- iterator() - Method in Iterator
-
Supports 'duck-typing' when trying to get an Iterator for each element of
a Collection, some of which may already be an Iterator.
- iterator() - Method in JComboBox
-
Returns an
Iterator which traverses the ComboBox one item at a time.
- iterator() - Method in JMenu
-
Returns an
Iterator which traverses the JMenu one component at a time.
- iterator() - Method in JMenuBar
-
Returns an
Iterator which traverses the JMenuBar one menu at a time.
- iterator() - Method in JPopupMenu
-
Returns an
Iterator which traverses the JPopupMenu one MenuElement at a time.
- iterator() - Method in JTabbedPane
-
Returns an
Iterator which traverses the JTabbedPane one Component tab at a time.
- iterator() - Method in ListModel
-
Returns an
Iterator which traverses the ListModel one element at a time.
- iterator() - Method in Map
-
Returns an Iterator for the given Map's entry set.
- iterator() - Method in Matcher
-
Returns an
Iterator which traverses each match.
- iterator() - Method in MutableComboBoxModel
-
Returns an
Iterator which traverses the MutableComboBoxModel one item at a time.
- iterator() - Method in NodeList
-
Makes NodeList iterable by returning a read-only Iterator which traverses
over each Node.
- iterator() - Method in Object
-
Creates an Iterator for the given Object by converting it to a Collection.
- iterator() - Method in Object[]
-
Returns an Iterator which traverses the given array in index order.
- iterator() - Method in Reader
-
Creates an iterator which will traverse through the reader a line at a time.
- iterator() - Method in ResultSetMetaData
-
Return an Iterator given a ResultSetMetaData.
- iterator() - Method in TableColumnModel
-
Returns an
Iterator which traverses the TableColumnModel one TableColumn at a time.
- iterator() - Method in TableModel
-
Returns an
Iterator which traverses the TableModel one row at a time.
- iterator() - Method in TreeNode
-
Returns an
Iterator which traverses the TreeNode one node at a time.
- iterator() - Method in TreePath
-
Returns an
Iterator which traverses the TreePath one path at a time.
- last() - Method in Deque
-
- last() - Method in Iterable
-
Returns the last item from the Iterable.
- last() - Method in List
-
Returns the last item from the List.
- last() - Method in Object[]
-
Returns the last item from the array.
- last() - Method in boolean[]
-
Returns the last item from the boolean array.
- last() - Method in byte[]
-
Returns the last item from the byte array.
- last() - Method in char[]
-
Returns the last item from the char array.
- last() - Method in double[]
-
Returns the last item from the double array.
- last() - Method in float[]
-
Returns the last item from the float array.
- last() - Method in int[]
-
Returns the last item from the int array.
- last() - Method in long[]
-
Returns the last item from the long array.
- last() - Method in short[]
-
Returns the last item from the short array.
- lastIndexOf(java.lang.Object) - Method in Object[]
-
Returns the index of the last occurrence of the specified element in the
array.
- leftShift(java.lang.Object) - Method in Appendable
-
Overloads the leftShift operator for Appendable to allow an object to be appended
using Groovy's default representation for the object.
- leftShift(java.lang.Number) - Method in BitSet
-
Implementation of the left shift operator for BitSets,
returning a new BitSet and leaving the original unchanged.
- leftShift(T) - Method in BlockingQueue
-
Overloads the left shift operator to provide an easy way to append
objects to a BlockingQueue.
- leftShift(javax.swing.AbstractButton) - Method in ButtonGroup
-
Overloads the left shift operator to provide an easy way to add
buttons to a ButtonGroup.
- leftShift(java.lang.Object) - Method in CharSequence
-
Overloads the left shift operator to provide an easy way to append multiple
objects as string representations to a CharSequence.
- leftShift(T) - Method in Collection
-
Overloads the left shift operator to provide an easy way to append
objects to a Collection.
- leftShift(java.awt.Component) - Method in Container
-
Overloads the left shift operator to provide an easy way to add
components to a Container.
- leftShift(java.lang.Object) - Method in DefaultListModel
-
Overloads the left shift operator to provide an easy way to add
elements to a DefaultListModel.
- leftShift(javax.swing.tree.DefaultMutableTreeNode) - Method in DefaultMutableTreeNode
-
Overloads the left shift operator to provide an easy way to add
nodes to a DefaultMutableTreeNode.
- leftShift(java.lang.Object) - Method in DefaultTableModel
-
Overloads the left shift operator to provide an easy way to add
rows to a DefaultTableModel.
- leftShift(java.io.InputStream) - Method in File
-
Append binary data to the file.
- leftShift(java.lang.Object) - Method in JComboBox
-
Overloads the left shift operator to provide an easy way to add
items to a JComboBox.
- leftShift(groovy.lang.GString) - Method in JMenu
-
Overloads the left shift operator to provide an easy way to add
components to a menu.
- leftShift(javax.swing.JMenu) - Method in JMenuBar
-
Overloads the left shift operator to provide an easy way to add
menus to a menuBar.
- leftShift(groovy.lang.GString) - Method in JPopupMenu
-
Overloads the left shift operator to provide an easy way to add
components to a popupMenu.
- leftShift(javax.swing.Action) - Method in JToolBar
-
Overloads the left shift operator to provide an easy way to add
components to a toolBar.
- leftShift(T) - Method in List
-
Overloads the left shift operator to provide an easy way to append
objects to a List.
- leftShift(java.time.OffsetTime) - Method in LocalDate
-
- leftShift(java.time.ZoneId) - Method in LocalDateTime
-
- leftShift(java.time.ZoneOffset) - Method in LocalTime
-
- leftShift(java.util.Map<K,V>) - Method in Map
-
Overloads the left shift operator to provide an easy way to put
one maps entries into another map.
- leftShift(java.time.Year) - Method in Month
-
- leftShift(java.time.Year) - Method in MonthDay
-
- leftShift(java.lang.Object) - Method in MutableComboBoxModel
-
Overloads the left shift operator to provide an easy way to add
items to a MutableComboBoxModel.
- leftShift(javax.swing.tree.MutableTreeNode) - Method in MutableTreeNode
-
Overloads the left shift operator to provide an easy way to add
nodes to a MutableTreeNode.
- leftShift(java.lang.Number) - Method in Number
-
Implementation of the left shift operator for integral types.
- leftShift(java.lang.Object) - Method in ObjectOutputStream
-
Overloads the leftShift operator to add objects to an ObjectOutputStream.
- leftShift(java.time.LocalDate) - Method in OffsetTime
-
- leftShift(byte[]) - Method in OutputStream
-
Overloads the leftShift operator to provide an append mechanism to add bytes to a stream.
- leftShift(java.io.InputStream) - Method in Path
-
Append binary data to the file.
- leftShift(byte[]) - Method in Process
-
Overloads the left shift operator to provide an append mechanism
to pipe into a Process
- leftShift(T) - Method in Set
-
Overloads the left shift operator to provide an easy way to append
objects to a Set.
- leftShift(byte[]) - Method in Socket
-
Overloads the left shift operator to provide an append mechanism
to add bytes to the output stream of a socket
- leftShift(T) - Method in SortedSet
-
Overloads the left shift operator to provide an easy way to append
objects to a SortedSet.
- leftShift(java.lang.Object) - Method in String
-
Overloads the left shift operator to provide an easy way to append multiple
objects as string representations to a String.
- leftShift(java.lang.Object) - Method in StringBuffer
-
Overloads the left shift operator to provide an easy way to append multiple
objects as string representations to a StringBuffer.
- leftShift(java.lang.Object) - Method in StringBuilder
-
Overloads the left shift operator to provide an easy way to append multiple
objects as string representations to a StringBuilder.
- leftShift(javax.swing.table.TableColumn) - Method in TableColumnModel
-
Overloads the left shift operator to provide an easy way to add
columns to a TableColumnModel.
- leftShift(java.lang.Object) - Method in TreePath
-
Overloads the left shift operator to provide an easy way to add
paths to a treePath.
- leftShift(java.lang.Object) - Method in Writer
-
Overloads the leftShift operator for Writer to allow an object to be written
using Groovy's default representation for the object.
- leftShift(java.time.MonthDay) - Method in Year
-
- leftShift(int) - Method in YearMonth
-
Returns a
LocalDate of this year/month and the given day of the month.
- leftShift(java.time.LocalDateTime) - Method in ZoneId
-
- leftShift(java.time.LocalTime) - Method in ZoneOffset
-
- List - Interface in java.util
GDK enhancements for List.
- ListModel - Interface in javax.swing
GDK enhancements for ListModel.
- ListWithDefault - Class in groovy.lang
GDK enhancements for ListWithDefault.
- LocalDate - Class in java.time
GDK enhancements for LocalDate.
- LocalDateTime - Class in java.time
GDK enhancements for LocalDateTime.
- LocalTime - Class in java.time
GDK enhancements for LocalTime.
- Long - Class in java.lang
GDK enhancements for Long.
- LongStream - Interface in java.util.stream
GDK enhancements for LongStream.
- longStream() - Method in long[]
-
Returns a sequential LongStream with the specified array as its
source.
- Map - Interface in java.util
GDK enhancements for Map.
- Map.Entry - Interface in java.util
GDK enhancements for Entry.
- mapToDouble(java.util.function.ToDoubleFunction<? super T>) - Method in Optional
-
If a value is present in the Optional, returns an OptionalDouble
consisting of the result of applying the given function to the value or else empty.
- mapToInt(java.util.function.ToIntFunction<? super T>) - Method in Optional
-
If a value is present in the Optional, returns an OptionalInt
consisting of the result of applying the given function to the value or else empty.
- mapToLong(java.util.function.ToLongFunction<? super T>) - Method in Optional
-
If a value is present in the Optional, returns an OptionalLong
consisting of the result of applying the given function to the value or else empty.
- mapToObj(java.util.function.DoubleFunction<? extends T>) - Method in OptionalDouble
-
If a value is present in the OptionalDouble, returns an Optional
consisting of the result of applying the given function to the value or else empty.
- mapToObj(java.util.function.IntFunction<? extends T>) - Method in OptionalInt
-
If a value is present in the OptionalInt, returns an Optional
consisting of the result of applying the given function to the value or else empty.
- mapToObj(java.util.function.LongFunction<? extends T>) - Method in OptionalLong
-
If a value is present in the OptionalLong, returns an Optional
consisting of the result of applying the given function to the value or else empty.
- Matcher - Class in java.util.regex
GDK enhancements for Matcher.
- matches(java.util.regex.Pattern) - Method in CharSequence
-
Determines if a CharSequence matches the given regular expression.
- matchesPartially() - Method in Matcher
-
Given a matcher that matches a string against a pattern, returns true when
the string matches the pattern or if a longer string, could match the pattern.
- max(groovy.lang.Closure) - Method in Iterable
-
Selects the item in the iterable which when passed as a parameter to the supplied closure returns the
maximum value.
- max(groovy.lang.Closure) - Method in Iterator
-
Selects the maximum value found from the Iterator
using the closure to determine the correct ordering.
- max(groovy.lang.Closure) - Method in Map
-
Selects an entry in the map having the maximum
calculated value as determined by the supplied closure.
- max(groovy.lang.Closure<?>) - Method in Object[]
-
Selects the maximum value found from the Object array
using the closure to determine the correct ordering.
- max(java.util.function.DoubleUnaryOperator) - Method in double[]
-
Selects the maximum value found from the double array
using the supplied DoubleUnaryOperator to determine the maximum of any two values.
- max(groovy.util.function.FloatUnaryOperator) - Method in float[]
-
Selects the maximum value found from the float array
using the supplied FloatUnaryOperator to determine the maximum of any two values.
- max(java.util.function.IntUnaryOperator) - Method in int[]
-
Selects the maximum value found from the int array
using the supplied IntUnaryOperator to determine the maximum of any two values.
- max(java.util.function.LongUnaryOperator) - Method in long[]
-
Selects the maximum value found from the long array
using the supplied LongUnaryOperator to determine the maximum of any two values.
- maxComparing(java.util.Comparator<java.lang.Double>) - Method in double[]
-
Selects the maximum value found from the double array
using the comparator to determine the maximum of any two values.
- maxComparing(java.util.Comparator<java.lang.Float>) - Method in float[]
-
Selects the maximum value found from the float array
using the comparator to determine the maximum of any two values.
- maxComparing(java.util.Comparator<java.lang.Integer>) - Method in int[]
-
Selects the maximum value found from the int array
using the comparator to determine the maximum of any two values.
- maxComparing(java.util.Comparator<java.lang.Long>) - Method in long[]
-
Selects the maximum value found from the long array
using the comparator to determine the maximum of any two values.
- md5() - Method in CharSequence
-
Calculate md5 of the CharSequence instance
- md5() - Method in byte[]
-
Calculate md5 of the byte array
- MetaClass - Interface in groovy.lang
GDK enhancements for MetaClass.
- metaClass(groovy.lang.Closure) - Method in Class
-
Sets/updates the metaclass for a given class to a closure.
- metaClass(groovy.lang.Closure) - Method in Object
-
Sets/updates the metaclass for a given object to a closure.
- min(groovy.lang.Closure) - Method in Iterable
-
Selects the item in the iterable which when passed as a parameter to the supplied closure returns the
minimum value.
- min(groovy.lang.Closure) - Method in Iterator
-
Selects the minimum value found from the Iterator
using the closure to determine the correct ordering.
- min(groovy.lang.Closure) - Method in Map
-
Selects an entry in the map having the minimum
calculated value as determined by the supplied closure.
- min(groovy.lang.Closure<?>) - Method in Object[]
-
Selects the minimum value found from the Object array
using the closure to determine the correct ordering.
- min(java.util.function.DoubleUnaryOperator) - Method in double[]
-
Selects the minimum value found from the double array
using the supplied DoubleUnaryOperator to determine the minimum of any two values.
- min(groovy.util.function.FloatUnaryOperator) - Method in float[]
-
Selects the minimum value found from the float array
using the supplied FloatUnaryOperator to determine the minimum of any two values.
- min(java.util.function.IntUnaryOperator) - Method in int[]
-
Selects the minimum value found from the int array
using the supplied IntUnaryOperator to determine the minimum of any two values.
- min(java.util.function.LongUnaryOperator) - Method in long[]
-
Selects the minimum value found from the long array
using the supplied LongUnaryOperator to determine the minimum of any two values.
- minComparing(java.util.Comparator<java.lang.Double>) - Method in double[]
-
Selects the minimum value found from the double array
using the comparator to determine the minimum of any two values.
- minComparing(java.util.Comparator<java.lang.Float>) - Method in float[]
-
Selects the minimum value found from the float array
using the comparator to determine the minimum of any two values.
- minComparing(java.util.Comparator<java.lang.Integer>) - Method in int[]
-
Selects the minimum value found from the int array
using the comparator to determine the minimum of any two values.
- minComparing(java.util.Comparator<java.lang.Long>) - Method in long[]
-
Selects the minimum value found from the long array
using the comparator to determine the minimum of any two values.
- minus(java.util.Calendar) - Method in Calendar
-
Subtract another date from this one and return the number of days of the difference.
- minus(java.lang.Character) - Method in Character
-
Subtract one Character from another.
- minus(java.util.regex.Pattern) - Method in CharSequence
-
Removes a part of a CharSequence.
- minus(java.util.Collection<?>) - Method in Collection
-
Create a new Collection composed of the elements of the first Collection minus
every occurrence of elements of the given Collection.
- minus(java.util.Date) - Method in Date
-
Subtract another Date from this one and return the number of days of the difference.
- minus(int) - Method in DayOfWeek
-
Returns the
DayOfWeek that is
days many days before this day of the week.
- minus(long) - Method in Duration
-
Returns a
Duration that is
seconds seconds shorter that this duration.
- minus(long) - Method in Instant
-
Returns an
Instant that is
seconds seconds before this instant.
- minus(java.lang.Object) - Method in Iterable
-
Create a new Collection composed of the elements of the first Iterable minus every occurrence of the
given element to remove.
- minus(java.lang.Object) - Method in List
-
Create a new List composed of the elements of the first List minus every occurrence of the
given element to remove.
- minus(java.time.LocalDate) - Method in LocalDate
-
Calculates the number of days between two dates
- minus(long) - Method in LocalDateTime
-
Returns a
LocalDateTime that is
seconds seconds before this date/time.
- minus(long) - Method in LocalTime
-
Returns a
LocalTime that is
seconds seconds before this time.
- minus(java.util.Map) - Method in Map
-
Create a Map composed of the entries of the first map minus the
entries of the given map.
- minus(int) - Method in Month
-
Returns the
Month that is
months months before this month.
- minus(java.lang.Number) - Method in Number
-
Subtraction of two Numbers.
- minus(java.lang.Object) - Method in Object[]
-
Creates a new array composed of the elements of the given array minus every occurrence the given object.
- minus(long) - Method in OffsetDateTime
-
Returns an
OffsetDateTime that is
seconds seconds before this date/time.
- minus(long) - Method in OffsetTime
-
Returns an
OffsetTime that is
seconds seconds before this time.
- minus(long) - Method in Period
-
Returns a
Period that is
days days shorter than this period.
- minus(java.lang.Object) - Method in Set
-
Create a Set composed of the elements of the first Set minus the given element.
- minus(java.lang.Object) - Method in SortedSet
-
Create a SortedSet composed of the elements of the first SortedSet minus the given element.
- minus(int) - Method in Timestamp
-
Subtract a number of days from this Timestamp and returns the new Timestamp object.
- minus(long) - Method in Year
-
Returns a
Year that is
years years before this year.
- minus(long) - Method in YearMonth
-
Returns a
YearMonth that is
months months before this year/month.
- minus(long) - Method in ZonedDateTime
-
Returns a
ZonedDateTime that is
seconds seconds before this date/time.
- mixin(java.lang.Class) - Method in Class
-
Extend class globally with category methods.
- mixin(java.lang.Class) - Method in MetaClass
-
Extend class globally with category methods.
- mod(java.lang.Number) - Method in Number
-
Performs a division modulus operation.
- Month - Class in java.time
GDK enhancements for Month.
- MonthDay - Class in java.time
GDK enhancements for MonthDay.
- multiply(java.math.BigInteger) - Method in BigDecimal
-
Multiply a BigDecimal and a BigInteger.
- multiply(java.lang.Character) - Method in Character
-
Multiply two Characters.
- multiply(java.lang.Number) - Method in CharSequence
-
Repeats a CharSequence a certain number of times.
- multiply(long) - Method in Duration
-
- multiply(java.lang.Number) - Method in Iterable
-
Create a Collection composed of the elements of this Iterable, repeated
a certain number of times.
- multiply(java.lang.Number) - Method in List
-
Create a List composed of the elements of this Iterable, repeated
a certain number of times.
- multiply(java.lang.Number) - Method in Number
-
Multiply two Numbers.
- multiply(int) - Method in Period
-
- MutableComboBoxModel - Interface in javax.swing
GDK enhancements for MutableComboBoxModel.
- MutableTreeNode - Interface in javax.swing.tree
GDK enhancements for MutableTreeNode.
- NavigableMap - Interface in java.util
GDK enhancements for NavigableMap.
- NavigableSet - Interface in java.util
GDK enhancements for NavigableSet.
- negative() - Method in Duration
-
Supports the unary minus operator; equivalent to calling the
Duration.negated method.
- negative() - Method in Period
-
Supports the unary minus operator; equivalent to calling the
Period.negated method.
- newDataInputStream() - Method in File
-
Create a data input stream for this file
- newDataInputStream() - Method in Path
-
Create a data input stream for this file
- newDataOutputStream() - Method in File
-
Creates a new data output stream for this file.
- newDataOutputStream() - Method in Path
-
Creates a new data output stream for this file.
- newInputStream() - Method in File
-
Creates a buffered input stream for this file.
- newInputStream() - Method in Path
-
Creates a buffered input stream for this file.
- newInputStream(java.util.Map<java.lang.String,?>) - Method in URL
-
Creates a buffered input stream for this URL.
- newInstance(java.lang.Object) - Method in Class
-
Helper to construct a new instance from the given arguments.
- newObjectInputStream(java.lang.ClassLoader) - Method in File
-
Create an object input stream for this file using the given class loader.
- newObjectInputStream(java.lang.ClassLoader) - Method in InputStream
-
Create an object input stream for this input stream using the given class loader.
- newObjectInputStream(java.lang.ClassLoader) - Method in Path
-
Create an object input stream for this path using the given class loader.
- newObjectOutputStream() - Method in File
-
Create an object output stream for this file.
- newObjectOutputStream() - Method in OutputStream
-
Create an object output stream for this output stream.
- newObjectOutputStream() - Method in Path
-
Create an object output stream for this path.
- newOutputStream() - Method in File
-
Create a buffered output stream for this file.
- newOutputStream() - Method in Path
-
Create a buffered output stream for this file.
- newPrintWriter(java.lang.String) - Method in File
-
Create a new PrintWriter for this file, using specified
charset.
- newPrintWriter() - Method in OutputStream
-
Create a new PrintWriter for this OutputStream.
- newPrintWriter(java.lang.String) - Method in Path
-
Create a new PrintWriter for this file, using specified
charset.
- newPrintWriter() - Method in Writer
-
Create a new PrintWriter for this Writer.
- newReader(java.lang.String) - Method in File
-
Create a buffered reader for this file, using the specified
charset as the encoding.
- newReader(java.lang.String) - Method in InputStream
-
Creates a reader for this input stream, using the specified
charset as the encoding.
- newReader(java.lang.String) - Method in Path
-
Create a buffered reader for this file, using the specified
charset as the encoding.
- newReader(java.util.Map<java.lang.String,?>, java.lang.String) - Method in URL
-
Creates a buffered reader for this URL using the given encoding.
- newWriter(java.lang.String) - Method in File
-
Creates a buffered writer for this file, writing data without writing a
BOM, using a specified encoding.
- newWriter(java.lang.String) - Method in OutputStream
-
Creates a writer for this stream using the given charset.
- newWriter(java.lang.String) - Method in Path
-
Creates a buffered writer for this file without writing a BOM, writing data using the given
encoding.
- next() - Method in Calendar
-
Increment a Calendar by one day.
- next() - Method in Character
-
Increment a Character by one.
- next(int) - Method in CharSequence
-
A variant of next with an integer count parameter; equivalent to calling next() count times.
- next() - Method in Date
-
Increment a Date by one day.
- next() - Method in Duration
-
Returns a
Duration that is one second longer than this duration.
- next() - Method in Enum
-
Overloads the ++ operator for enums.
- next() - Method in Instant
-
Returns an
Instant that is one second after this instant.
- next() - Method in LocalDate
-
- next() - Method in LocalDateTime
-
- next() - Method in LocalTime
-
Returns a
LocalTime that is one second after this time.
- next() - Method in Number
-
Increment a Number by one.
- next() - Method in OffsetDateTime
-
- next() - Method in OffsetTime
-
Returns an
OffsetTime that is one second after this time.
- next() - Method in Period
-
Returns a
Period that is one day longer than this period.
- next() - Method in Year
-
Returns a
Year after this year.
- next() - Method in YearMonth
-
Returns a
YearMonth that is the month after this year/month.
- next() - Method in ZonedDateTime
-
- Node - Class in groovy.util
GDK enhancements for Node.
- NodeList - Interface in org.w3c.dom
GDK enhancements for NodeList.
- normalize() - Method in CharSequence
-
Returns a String with linefeeds and carriage returns normalized to linefeeds.
- NullObject - Class in org.codehaus.groovy.runtime
GDK enhancements for NullObject.
- Number - Class in java.lang
GDK enhancements for Number.
- numberAwareCompareTo(java.lang.Comparable) - Method in Comparable
-
Provides a method that compares two comparables using Groovy's
default number aware comparator.
- padLeft(java.lang.Number, java.lang.CharSequence) - Method in CharSequence
-
Pads a CharSequence to a minimum length specified by numberOfChars, adding the supplied
padding CharSequence as many times as needed to the left.
- padRight(java.lang.Number, java.lang.CharSequence) - Method in CharSequence
-
Pads a CharSequence to a minimum length specified by numberOfChars, adding the supplied padding
CharSequence as many times as needed to the right.
- parse(java.time.LocalDate, java.lang.CharSequence, java.lang.String) - Method in LocalDate
-
Parse text into a
LocalDate using the provided pattern.
- parse(java.time.LocalDateTime, java.lang.CharSequence, java.lang.String) - Method in LocalDateTime
-
- parse(java.time.LocalTime, java.lang.CharSequence, java.lang.String) - Method in LocalTime
-
Parse text into a
LocalTime using the provided pattern.
- parse(java.time.MonthDay, java.lang.CharSequence, java.lang.String) - Method in MonthDay
-
Parse text into a
MonthDay using the provided pattern.
- parse(java.time.OffsetDateTime, java.lang.CharSequence, java.lang.String) - Method in OffsetDateTime
-
- parse(java.time.OffsetTime, java.lang.CharSequence, java.lang.String) - Method in OffsetTime
-
Parse text into an
OffsetTime using the provided pattern.
- parse(java.time.Year, java.lang.CharSequence, java.lang.String) - Method in Year
-
Parse text into a
Year using the provided pattern.
- parse(java.time.YearMonth, java.lang.CharSequence, java.lang.String) - Method in YearMonth
-
Parse text into a
YearMonth using the provided pattern.
- parse(java.time.ZonedDateTime, java.lang.CharSequence, java.lang.String) - Method in ZonedDateTime
-
- partitionPoint(java.util.function.Predicate<T>) - Method in List
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.Predicate<T>) - Method in Object[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.IntPredicate) - Method in char[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.DoublePredicate) - Method in double[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.DoublePredicate) - Method in float[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.IntPredicate) - Method in int[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.LongPredicate) - Method in long[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(java.util.function.IntPredicate) - Method in short[]
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- Path - Interface in java.nio.file
GDK enhancements for Path.
- Pattern - Class in java.util.regex
GDK enhancements for Pattern.
- peek(java.util.function.Consumer<? super T>) - Method in Optional
-
If a value is present in the Optional, executes the specified
action with the value as input and then returns self.
- peek(java.util.function.DoubleConsumer) - Method in OptionalDouble
-
If a value is present in the OptionalDouble, executes the specified
action with the value as input and then returns self.
- peek(java.util.function.IntConsumer) - Method in OptionalInt
-
If a value is present in the OptionalInt, executes the specified
action with the value as input and then returns self.
- peek(java.util.function.LongConsumer) - Method in OptionalLong
-
If a value is present in the OptionalLong, executes the specified
action with the value as input and then returns self.
- Period - Class in java.time
GDK enhancements for Period.
- permutations(groovy.lang.Closure<V>) - Method in Iterable
-
Finds all permutations of an iterable, applies a function to each permutation and collects the result
into a list.
- pipeline() - Method in List
-
- pipeTo(java.lang.Process) - Method in Process
-
Allows one Process to asynchronously pipe data to another Process.
- plus(java.lang.Character) - Method in Character
-
Add one Character to another.
- plus(java.lang.Object) - Method in CharSequence
-
Appends the String representation of the given operand to this CharSequence.
- plus(T) - Method in Collection
-
Create a collection as a union of a Collection and an Object.
- plus(int) - Method in Date
-
Add a number of days to this date and returns the new date.
- plus(int) - Method in DayOfWeek
-
Returns the
DayOfWeek that is
days many days after this day of the week.
- plus(long) - Method in Duration
-
Returns a
Duration that is
seconds seconds longer than this duration.
- plus(long) - Method in Instant
-
Returns an
Instant that is
seconds seconds after this instant.
- plus(T) - Method in Iterable
-
Create a collection as a union of an Iterable and an Object.
- plus(java.util.Iterator<T>) - Method in Iterator
-
Appends two iterators.
- plus(T) - Method in List
-
Create a List as a union of a List and an Object.
- plus(long) - Method in LocalDate
-
Returns a
LocalDate that is
days days after this date.
- plus(long) - Method in LocalDateTime
-
Returns a
LocalDateTime that is
seconds seconds after this date/time.
- plus(long) - Method in LocalTime
-
Returns a
LocalTime that is
seconds seconds after this time.
- plus(groovy.lang.GString) - Method in Map
-
Appends a GString to the literal of the Map instance.
- plus(int) - Method in Month
-
Returns the
Month that is
months months after this month.
- plus(java.lang.Number) - Method in Number
-
Add two numbers and return the result.
- plus(java.lang.Object) - Method in Object[]
-
Creates an array containing elements from an original array plus an additional appended element.
- plus(long) - Method in OffsetDateTime
-
Returns an
OffsetDateTime that is
seconds seconds after this date/time.
- plus(long) - Method in OffsetTime
-
Returns an
OffsetTime that is
seconds seconds after this time.
- plus(long) - Method in Period
-
Returns a
Period that is
days days longer than this period.
- plus(T) - Method in Set
-
Create a Set as a union of a Set and an Object.
- plus(T) - Method in SortedSet
-
Create a SortedSet as a union of a SortedSet and an Object.
- plus(java.util.stream.Stream<? extends T>) - Method in Stream
-
Returns a lazily concatenated stream whose elements are all the elements of this stream followed by all the elements of the second stream.
- plus(java.lang.CharSequence) - Method in String
-
Appends the String representation of the given operand to this string.
- plus(java.lang.String) - Method in StringBuffer
-
Appends a String to this StringBuffer.
- plus(java.lang.String) - Method in StringBuilder
-
Appends a String to this StringBuilder.
- plus(int) - Method in Timestamp
-
Add number of days to this Timestamp and returns the new Timestamp object.
- plus(long) - Method in Year
-
Returns a
Year that is
years years after this year.
- plus(long) - Method in YearMonth
-
Returns a
YearMonth that is
months months after this year/month.
- plus(long) - Method in ZonedDateTime
-
Returns a
ZonedDateTime that is
seconds seconds after this date/time.
- pop() - Method in List
-
Removes the initial item from the List.
- positive() - Method in Duration
-
Supports the unary plus operator; equivalent to calling the
Duration.abs method.
- positive() - Method in Period
-
Supports the unary plus operator; returns a
Period with all unit values positive.
- power(java.lang.Integer) - Method in BigDecimal
-
Power of a BigDecimal to an integer certain exponent.
- power(java.math.BigInteger) - Method in BigInteger
-
Power of a BigInteger to a BigInteger certain exponent.
- power(java.lang.Integer) - Method in Integer
-
Power of an integer to an integer certain exponent.
- power(java.lang.Integer) - Method in Long
-
Power of a long to an integer certain exponent.
- power(java.lang.Number) - Method in Number
-
Power of a Number to a certain exponent.
- previous() - Method in Calendar
-
Decrement a Calendar by one day.
- previous() - Method in Character
-
Decrement a Character by one.
- previous(int) - Method in CharSequence
-
A variant of previous with an integer count parameter; equivalent to calling previous() count times.
- previous() - Method in Date
-
Decrement a Date by one day.
- previous() - Method in Duration
-
Returns a
Duration that is one second shorter than this duration.
- previous() - Method in Enum
-
Overloads the -- operator for enums.
- previous() - Method in Instant
-
Returns an
Instant that one second before this instant.
- previous() - Method in LocalDate
-
Returns a
LocalDate one day before this date.
- previous() - Method in LocalDateTime
-
Returns a
LocalDateTime that is one second before this date/time.
- previous() - Method in LocalTime
-
Returns a
LocalTime that is one second before this time.
- previous() - Method in Number
-
Decrement a Number by one.
- previous() - Method in OffsetDateTime
-
- previous() - Method in OffsetTime
-
Returns an
OffsetTime that is one second before this time.
- previous() - Method in Period
-
Returns a
Period that is one day shorter than this period.
- previous() - Method in Year
-
Returns a
Year before this year.
- previous() - Method in YearMonth
-
Returns a
YearMonth that is the month before this year/month.
- previous() - Method in ZonedDateTime
-
Returns a
ZonedDateTime that is one second before this date/time.
- boolean[] - Class in primitives
GDK enhancements for boolean[].
- boolean[][] - Class in primitives
GDK enhancements for boolean[][].
- byte[] - Class in primitives
GDK enhancements for byte[].
- byte[][] - Class in primitives
GDK enhancements for byte[][].
- char[] - Class in primitives
GDK enhancements for char[].
- char[][] - Class in primitives
GDK enhancements for char[][].
- double - Class in primitives
GDK enhancements for double.
- double[] - Class in primitives
GDK enhancements for double[].
- double[][] - Class in primitives
GDK enhancements for double[][].
- float - Class in primitives
GDK enhancements for float.
- float[] - Class in primitives
GDK enhancements for float[].
- float[][] - Class in primitives
GDK enhancements for float[][].
- int[] - Class in primitives
GDK enhancements for int[].
- int[][] - Class in primitives
GDK enhancements for int[][].
- long - Class in primitives
GDK enhancements for long.
- long[] - Class in primitives
GDK enhancements for long[].
- long[][] - Class in primitives
GDK enhancements for long[][].
- short[] - Class in primitives
GDK enhancements for short[].
- short[][] - Class in primitives
GDK enhancements for short[][].
- print(java.lang.Object) - Method in Closure
-
Print a value to the standard output stream.
- print(java.io.PrintWriter) - Method in Object
-
Print to a console in interactive format.
- print(java.lang.Object) - Method in PrintStream
-
Print a value formatted Groovy style to the print stream.
- print(java.lang.Object) - Method in PrintWriter
-
Print a value formatted Groovy style to the print writer.
- printf(java.lang.String, java.lang.Object) - Method in Closure
-
Printf a value to the standard output stream using a format string.
- printf(java.lang.String, java.lang.Object) - Method in Object
-
Prints a formatted string using the specified format string and arguments.
- println(java.lang.Object) - Method in Closure
-
Print a value (followed by a newline) to the standard output stream.
- println(java.io.PrintWriter) - Method in Object
-
Print to a console in interactive format.
- println(java.lang.Object) - Method in PrintStream
-
Print a value formatted Groovy style (followed by a newline) to the print stream.
- println(java.lang.Object) - Method in PrintWriter
-
Print a value formatted Groovy style (followed by a newline) to the print writer.
- PrintStream - Class in java.io
GDK enhancements for PrintStream.
- PrintWriter - Class in java.io
GDK enhancements for PrintWriter.
- Process - Class in java.lang
GDK enhancements for Process.
- push(T) - Method in List
-
Prepends an item to the start of the List.
- putAll(java.util.Collection<? extends java.util.Map.Entry<? extends K,? extends V>>) - Method in Map
-
Provides an easy way to append multiple Map.Entry values to a Map.
- putAt(int, boolean) - Method in BitSet
-
Support subscript-style assignment for a BitSet.
- putAt(int, int) - Method in Calendar
-
Support the subscript operator for mutating a Calendar.
- putAt(int, int) - Method in Date
-
Support the subscript operator for mutating a Date.
- putAt(int, java.lang.Object) - Method in DefaultListModel
-
Allow DefaultListModel to work with subscript operators.
- putAt(int, java.lang.Object) - Method in DefaultTableModel
-
Allow DefaultTableModel to work with subscript operators.
- putAt(java.util.List, java.lang.Object) - Method in List
-
A helper method to allow lists to work with subscript operators.
- putAt(K, V) - Method in Map
-
A helper method to allow maps to work with subscript operators
- putAt(int, java.lang.Object) - Method in MutableComboBoxModel
-
Allow MutableComboBoxModel to work with subscript operators.
- putAt(int, javax.swing.tree.MutableTreeNode) - Method in MutableTreeNode
-
Allow MutableTreeNode to work with subscript operators.
- putAt(java.lang.String, java.lang.Object) - Method in Object
-
Allows the subscript operator to be used to set dynamically named property values.
- putAt(groovy.lang.IntRange, java.lang.Iterable<T>) - Method in Object[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Boolean>) - Method in boolean[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in byte[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Character>) - Method in char[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in double[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in float[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in int[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in long[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Iterable<java.lang.Number>) - Method in short[]
-
A helper method to allow arrays to be set with subscript operators.
- putAt(groovy.lang.IntRange, java.lang.Object) - Method in StringBuffer
-
Supports the range subscript operator for StringBuffer.
- putAt(groovy.lang.IntRange, java.lang.Object) - Method in StringBuilder
-
Supports the range subscript operator for StringBuilder.
- Range - Interface in groovy.lang
GDK enhancements for Range.
- readBytes() - Method in File
-
Reads the content of the file into a byte array.
- readBytes() - Method in Path
-
Reads the content of the file into a byte array.
- Reader - Class in java.io
GDK enhancements for Reader.
- readLine() - Method in Reader
-
Read a single, whole line from the given Reader.
- readLines() - Method in CharSequence
-
Returns the lines of a CharSequence as a List of String.
- readLines(java.lang.String) - Method in File
-
Reads the file into a list of Strings, with one item for each line.
- readLines(java.lang.String) - Method in InputStream
-
Reads the stream into a list, with one element for each line.
- readLines(java.lang.String) - Method in Path
-
Reads the file into a list of Strings, with one item for each line.
- readLines() - Method in Reader
-
Reads the reader into a list of Strings, with one entry for each line.
- readLines(java.lang.String) - Method in URL
-
Reads the URL contents into a list, with one element for each line.
- relativePath(java.io.File) - Method in File
-
Relative path to file.
- remainder(java.lang.Number) - Method in Number
-
Performs a division modulus operation.
- removeAll(groovy.lang.Closure) - Method in Collection
-
Modifies this collection by removing the elements that are matched according
to the specified closure condition.
- removeAll(groovy.lang.Closure) - Method in Map
-
Modifies this map by removing the elements that are matched according to the
specified closure condition.
- removeAt(int) - Method in List
-
Modifies this list by removing the element at the specified position
in this list.
- removeElement(java.lang.Object) - Method in Collection
-
Modifies this collection by removing a single instance of the specified
element from this collection, if it is present.
- removeLast() - Method in List
-
Removes the last item from the List.
- renameTo(java.lang.String) - Method in File
-
Renames the file.
- renameTo(java.net.URI) - Method in Path
-
Renames a file.
- repeat() - Method in Iterable
-
Repeat the elements from an iterable infinitely.
- repeat() - Method in Iterator
-
Repeat the elements from an iterator infinitely.
- replace(int, java.util.Map<java.lang.CharSequence,java.lang.CharSequence>) - Method in CharSequence
-
Replaces all occurrences of replacement CharSequences (supplied via a map) within a provided CharSequence
with control over the internally created StringBuilder's capacity.
- replaceAll(java.util.regex.Pattern, groovy.lang.Closure) - Method in CharSequence
-
Replaces all occurrences of a captured group by the result of a closure call on that text.
- replaceFirst(java.util.regex.Pattern, groovy.lang.Closure) - Method in CharSequence
-
Replaces the first occurrence of a captured group by the result of a closure call on that text.
- ResourceBundle - Class in java.util
GDK enhancements for ResourceBundle.
- respondsTo(java.lang.String) - Method in Object
-
- ResultSet - Interface in java.sql
GDK enhancements for ResultSet.
- ResultSetMetaData - Interface in java.sql
GDK enhancements for ResultSetMetaData.
- retainAll(groovy.lang.Closure) - Method in Collection
-
Modifies this collection so that it retains only its elements
that are matched according to the specified closure condition.
- retainAll(groovy.lang.Closure) - Method in Map
-
Modifies this map so that it retains only its elements that are matched
according to the specified closure condition.
- reverse() - Method in CharSequence
-
Creates a String which is the reverse (backwards) of this CharSequence
- reverse() - Method in Iterator
-
Reverses the iterator.
- reverse(boolean) - Method in List
-
Reverses the elements in a list.
- reverse(boolean) - Method in Object[]
-
Reverses the items in an array.
- reverse(boolean) - Method in boolean[]
-
Reverses the items in an array.
- reverse(boolean) - Method in byte[]
-
Reverses the items in an array.
- reverse(boolean) - Method in char[]
-
Reverses the items in an array.
- reverse(boolean) - Method in double[]
-
Reverses the items in an array.
- reverse(boolean) - Method in float[]
-
Reverses the items in an array.
- reverse(boolean) - Method in int[]
-
Reverses the items in an array.
- reverse(boolean) - Method in long[]
-
Reverses the items in an array.
- reverse(boolean) - Method in short[]
-
Reverses the items in an array.
- reverseEach(groovy.lang.Closure) - Method in List
-
Iterate over each element of the list in the reverse order.
- reverseEach(groovy.lang.Closure<?>) - Method in Map
-
Allows a Map to be iterated through in reverse order using a closure.
- reverseEach(groovy.lang.Closure) - Method in NavigableSet
-
Iterate over each element of the set in reverse order.
- reverseEach(groovy.lang.Closure<?>) - Method in Object[]
-
Iterates over each element of the array in the reverse order.
- reverseEach(groovy.lang.Closure<?>) - Method in boolean[]
-
Iterates through a boolean[] in reverse order passing each boolean to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in byte[]
-
Iterates through a byte[] in reverse order passing each byte to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in char[]
-
Iterates through a char[] in reverse order passing each char to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in double[]
-
Iterates through a double[] in reverse order passing each double to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in float[]
-
Iterates through a float[] in reverse order passing each float to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in int[]
-
Iterates through an int[] in reverse order passing each int to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in long[]
-
Iterates through a long[] in reverse order passing each long to the given closure.
- reverseEach(groovy.lang.Closure<?>) - Method in short[]
-
Iterates through a short[] in reverse order passing each short to the given closure.
- rightShift(java.lang.Number) - Method in BitSet
-
Implementation of the right shift operator for BitSets,
returning a new BitSet and leaving the original unchanged.
- rightShift(java.time.LocalDate) - Method in LocalDate
-
Returns a
Period equivalent to the time between this date (inclusive)
and the provided
LocalDate (exclusive).
- rightShift(java.lang.Number) - Method in Number
-
Implementation of the right shift operator for integral types.
- rightShift(java.time.temporal.Temporal) - Method in Temporal
-
- rightShift(java.time.Year) - Method in Year
-
Returns a
Period between the first day of this year (inclusive) and the first day of the
provided
Year (exclusive).
- rightShift(java.time.YearMonth) - Method in YearMonth
-
Returns a
Period of time between the first day of this year/month (inclusive) and the
given
YearMonth (exclusive).
- rightShiftUnsigned(java.lang.Number) - Method in BitSet
-
Implementation of the right shift (unsigned) operator for BitSets,
returning a new BitSet and leaving the original unchanged.
- rightShiftUnsigned(java.lang.Number) - Method in Number
-
Implementation of the right shift (unsigned) operator for integral types.
- round(int) - Method in BigDecimal
-
Round the value
- round(int) - Method in Double
-
Round the value
- round(int) - Method in Float
-
Round the value
- runAfter(int, groovy.lang.Closure) - Method in Timer
-
Allows a simple syntax for using timers.
- Runtime - Class in java.lang
GDK enhancements for Runtime.
- ScriptEngine - Interface in javax.script
GDK enhancements for ScriptEngine.
- ScriptEngineManager - Class in javax.script
GDK enhancements for ScriptEngineManager.
- serialize() - Method in Element
-
Transforms the element to its text equivalent.
- ServerSocket - Class in java.net
GDK enhancements for ServerSocket.
- Set - Interface in java.util
GDK enhancements for Set.
- set(java.util.Map<java.lang.Object,java.lang.Integer>) - Method in Calendar
-
Support mutating a Calendar with a Map.
- set(java.util.Map<java.lang.Object,java.lang.Integer>) - Method in Date
-
Support mutating a Date with a Map.
- setBytes(byte[]) - Method in File
-
Write the bytes from the byte array to the File.
- setBytes(byte[]) - Method in OutputStream
-
Write the byte[] to the output stream.
- setBytes(byte[]) - Method in Path
-
Write the bytes from the byte array to the Path.
- setIndex(int) - Method in Matcher
-
Sets the position of the given Matcher to the given index.
- setMetaClass(groovy.lang.MetaClass) - Method in Class
-
Sets the metaclass for a given class.
- setMetaClass(groovy.lang.MetaClass) - Method in GroovyObject
-
Sets the metaclass for a GroovyObject.
- setMetaClass(groovy.lang.MetaClass) - Method in Object
-
Sets the metaclass for an object.
- setMnemonic(java.lang.String) - Method in AbstractButton
-
Allows the usage of a one-element string for a mnemonic
- setText(java.lang.String, java.lang.String) - Method in 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'
- setText(java.lang.String, java.lang.String) - Method in Path
-
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'
- sha256() - Method in CharSequence
-
Calculate SHA-256 of the CharSequence instance
- sha256() - Method in byte[]
-
Calculate SHA-256 of the byte array
- shuffle(java.util.Random) - Method in List
-
Randomly reorders the elements of the specified list using the
specified random instance as the source of randomness.
- shuffle(java.util.Random) - Method in Object[]
-
Randomly reorders the elements of the specified array using the
specified random instance as the source of randomness.
- shuffled(java.util.Random) - Method in List
-
Creates a new list containing the elements of the specified list but in a random
order using the specified random instance as the source of randomness.
- shuffled(java.util.Random) - Method in Object[]
-
Creates a new array containing the elements of the specified array but in a random
order using the specified random instance as the source of randomness.
- size() - Method in ButtonGroup
-
Provide the standard Groovy size() method for ButtonGroup.
- size() - Method in CharSequence
-
Provides the standard Groovy size() method for CharSequence.
- size() - Method in Container
-
Provide the standard Groovy size() method for Container.
- size() - Method in DoubleStream
-
An alias for count.
- size() - Method in File
-
Provide the standard Groovy size() method for File.
- size() - Method in IntStream
-
An alias for count.
- size() - Method in Iterable
-
Provide the standard Groovy size() method for Iterable.
- size() - Method in Iterator
-
Provide the standard Groovy size() method for Iterator.
- size() - Method in JComboBox
-
Provide the standard Groovy size() method for JComboBox.
- size() - Method in JMenu
-
Provide the standard Groovy size() method for JMenu.
- size() - Method in JMenuBar
-
Provide the standard Groovy size() method for JMenuBar.
- size() - Method in JTabbedPane
-
Provide the standard Groovy size() method for JTabbedPane.
- size() - Method in ListModel
-
Provide the standard Groovy size() method for ListModel.
- size() - Method in LongStream
-
An alias for count.
- size() - Method in Matcher
-
Provides the standard Groovy size() method for Matcher.
- size() - Method in Object[]
-
Provides the standard Groovy size() method for an array.
- size() - Method in Path
-
Provide the standard Groovy size() method for Path.
- size() - Method in boolean[]
-
Provides arrays with a size method similar to collections.
- size() - Method in byte[]
-
Provides arrays with a size method similar to collections.
- size() - Method in char[]
-
Provides arrays with a size method similar to collections.
- size() - Method in double[]
-
Provides arrays with a size method similar to collections.
- size() - Method in float[]
-
Provides arrays with a size method similar to collections.
- size() - Method in int[]
-
Provides arrays with a size method similar to collections.
- size() - Method in long[]
-
Provides arrays with a size method similar to collections.
- size() - Method in short[]
-
Provides arrays with a size method similar to collections.
- size() - Method in Stream
-
An alias for count.
- size() - Method in TableColumnModel
-
Provide the standard Groovy size() method for TableColumnModel.
- size() - Method in TableModel
-
Provide the standard Groovy size() method for TableModel.
- size() - Method in TreeNode
-
Provide the standard Groovy size() method for TreeNode.
- size() - Method in TreePath
-
Provide the standard Groovy size() method for TreePath.
- sleep(java.lang.Object, long, groovy.lang.Closure) - Method in Object
-
Sleep for so many milliseconds, using a given closure for interrupt processing.
- Socket - Class in java.net
GDK enhancements for Socket.
- sort(boolean, groovy.lang.Closure) - Method in Iterable
-
Sorts this Iterable using the given Closure to determine the correct ordering.
- sort(groovy.lang.Closure) - Method in Iterator
-
Sorts the given iterator items into a sorted iterator using the Closure to determine the correct ordering.
- sort(groovy.lang.IntRange) - Method in List
-
A mutating sort variant that takes an index range.
- sort() - Method in Map
-
Sorts the elements from the given map into a new ordered Map using
the natural ordering of the keys to determine the ordering.
- sort(groovy.lang.IntRange, boolean, groovy.lang.Closure<?>) - Method in Object[]
-
Sorts the elements with index values in the given index range
into sorted order using the Closure to determine the correct ordering.
- sort() - Method in SortedMap
-
Avoids doing unnecessary work when sorting an already sorted map (i.e. an identity function for an already sorted map).
- sort() - Method in SortedSet
-
Avoids doing unnecessary work when sorting an already sorted set (i.e. an identity function for an already sorted set).
- SortedMap - Interface in java.util
GDK enhancements for SortedMap.
- SortedSet - Interface in java.util
GDK enhancements for SortedSet.
- split() - Method in CharSequence
-
Splits a CharSequence (with whitespace as delimiter).
- split(groovy.lang.Closure) - Method in Collection
-
Splits all items into two collections based on the closure condition.
- split(groovy.lang.Closure) - Method in List
-
Splits all items into two collections based on the closure condition.
- split(groovy.lang.Closure) - Method in Object
-
Splits all items into two lists based on the closure condition.
- split(groovy.lang.Closure<?>) - Method in Object[]
-
Splits all items into two collections based on the closure condition.
- split(groovy.lang.Closure) - Method in Set
-
Splits all items into two collections based on the closure condition.
- splitEachLine(java.util.regex.Pattern, groovy.lang.Closure<T>) - Method in CharSequence
-
Iterates through the given CharSequence line by line, splitting each line using
the given separator Pattern.
- splitEachLine(java.util.regex.Pattern, java.lang.String, groovy.lang.Closure<T>) - Method in File
-
Iterates through this file line by line, splitting each line using
the given regex separator Pattern.
- splitEachLine(java.util.regex.Pattern, groovy.lang.Closure<T>) - Method in InputStream
-
Iterates through the given InputStream line by line, splitting each line using
the given separator Pattern.
- splitEachLine(java.util.regex.Pattern, java.lang.String, groovy.lang.Closure<T>) - Method in Path
-
Iterates through this file line by line, splitting each line using
the given regex separator Pattern.
- splitEachLine(java.util.regex.Pattern, groovy.lang.Closure<T>) - Method in Reader
-
Iterates through the given reader line by line, splitting each line using
the given regex separator Pattern.
- splitEachLine(java.util.regex.Pattern, java.lang.String, groovy.lang.Closure<T>) - Method in URL
-
Iterates through the input stream associated with this URL line by line, splitting each line using
the given regex separator Pattern.
- Spliterator - Interface in java.util
GDK enhancements for Spliterator.
- spread() - Method in Map
-
- sprintf(java.lang.String, java.lang.Object) - Method in Object
-
Returns a formatted string using the specified format string and
arguments.
- start(java.lang.Thread, java.lang.String, groovy.lang.Closure) - Method in Thread
-
Start a Thread with a given name and the given closure
as a Runnable instance.
- startDaemon(java.lang.Thread, java.lang.String, groovy.lang.Closure) - Method in Thread
-
Start a daemon Thread with a given name and the given closure as
a Runnable instance.
- startsWithAny(java.lang.CharSequence) - Method in CharSequence
-
Tests if this CharSequence starts with any specified prefixes.
- startsWithIgnoreCase(java.lang.CharSequence) - Method in CharSequence
-
Checks whether this CharSequence starts with the searchString ignoring the case considerations.
- step(java.lang.Number, java.lang.Number, groovy.lang.Closure) - Method in Number
-
Iterates from this number up to the given number using a step increment.
- Stream - Interface in java.util.stream
GDK enhancements for Stream.
- stream() - Method in Enumeration
-
Returns a sequential
Stream with the specified element(s) as its
source.
- stream() - Method in Iterable
-
Returns a sequential Stream with the specified element(s) as its
source.
- stream() - Method in Iterator
-
Returns a sequential
Stream with the specified element(s) as its
source.
- stream() - Method in NullObject
-
Returns an empty sequential Stream.
- stream() - Method in Object
-
Returns a sequential Stream containing a single element.
- stream() - Method in Object[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in Optional
-
If a value is present in the
Optional, returns a
Stream
with the value as its source or else an empty stream.
- stream() - Method in OptionalDouble
-
- stream() - Method in OptionalInt
-
If a value is present in the
OptionalInt, returns an
IntStream
with the value as its source or else an empty stream.
- stream() - Method in OptionalLong
-
If a value is present in the
OptionalLong, returns a
LongStream
with the value as its source or else an empty stream.
- stream() - Method in boolean[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in byte[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in char[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in double[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in float[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in int[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in long[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in short[]
-
Returns a sequential Stream with the specified array as its
source.
- stream() - Method in Spliterator
-
Returns a sequential
Stream with the specified element(s) as its
source.
- String - Class in java.lang
GDK enhancements for String.
- String[] - Class in java.lang
GDK enhancements for String[].
- StringBuffer - Class in java.lang
GDK enhancements for StringBuffer.
- StringBuilder - Class in java.lang
GDK enhancements for StringBuilder.
- stripIndent(int) - Method in CharSequence
-
Strips numChars leading characters from every line in a CharSequence.
- stripMargin(java.lang.CharSequence) - Method in CharSequence
-
Strips leading whitespace/control characters followed by marginChar from
every line in a CharSequence.
- subList(groovy.lang.IntRange) - Method in List
-
Returns a view of the portion of this list given by the specified range.
- subMap(K) - Method in Map
-
Creates a sub-Map containing the given keys.
- submit(groovy.lang.Closure<T>) - Method in ExecutorService
-
Submits a value-returning task for execution and returns a
Future
representing the pending results of the task.
- subsequences() - Method in List
-
Finds all non-null subsequences of a list.
- sum(java.lang.Object, groovy.lang.Closure) - Method in Iterable
-
Sums the result of applying a closure to each item of an Iterable to some initial value.
- sum(java.lang.Object, groovy.lang.Closure) - Method in Iterator
-
Sums the result of applying a closure to each item of an Iterator to some initial value.
- sum(java.lang.Object, groovy.lang.Closure<?>) - Method in Object[]
-
Sums the result of applying a closure to each item of an array to some initial value.
- sum(byte) - Method in byte[]
-
Sums the items in an array, adding the result to some initial value.
- sum(char) - Method in char[]
-
Sums the items in an array, adding the result to some initial value.
- sum(double) - Method in double[]
-
Sums the items in an array, adding the result to some initial value.
- sum(float) - Method in float[]
-
Sums the items in an array, adding the result to some initial value.
- sum(int) - Method in int[]
-
Sums the items in an array, adding the result to some initial value.
- sum(long) - Method in long[]
-
Sums the items in an array, adding the result to some initial value.
- sum(short) - Method in short[]
-
Sums the items in an array, adding the result to some initial value.
- swap(int, int) - Method in List
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in Object[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in boolean[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in byte[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in char[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in double[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in float[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in int[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in long[]
-
Swaps two elements at the specified positions.
- swap(int, int) - Method in short[]
-
Swaps two elements at the specified positions.
- System - Class in java.lang
GDK enhancements for System.
- System.Logger - Interface in java.lang
GDK enhancements for Logger.
- systemDefault(java.time.ZoneOffset) - Method in ZoneOffset
-
- TableColumnModel - Interface in javax.swing.table
GDK enhancements for TableColumnModel.
- TableModel - Interface in javax.swing.table
GDK enhancements for TableModel.
- tail() - Method in Iterable
-
Returns the items from the Iterable excluding the first item.
- tail() - Method in Iterator
-
Returns the original iterator after throwing away the first element.
- tail() - Method in List
-
Returns the items from the List excluding the first item.
- tail() - Method in Object[]
-
Returns the items from the array excluding the first item.
- tail() - Method in boolean[]
-
Returns the items from the boolean array excluding the first item.
- tail() - Method in byte[]
-
Returns the items from the byte array excluding the first item.
- tail() - Method in char[]
-
Returns the items from the char array excluding the first item.
- tail() - Method in double[]
-
Returns the items from the double array excluding the first item.
- tail() - Method in float[]
-
Returns the items from the float array excluding the first item.
- tail() - Method in int[]
-
Returns the items from the int array excluding the first item.
- tail() - Method in long[]
-
Returns the items from the long array excluding the first item.
- tail() - Method in short[]
-
Returns the items from the short array excluding the first item.
- tail() - Method in SortedSet
-
Returns the items from the SortedSet excluding the first item.
- tails() - Method in Iterable
-
Calculates the tail values of this Iterable: the first value will be this list of all items from the iterable and the final one will be an empty list, with the intervening values the results of successive applications of tail on the items.
- take(int) - Method in CharSequence
-
Returns the first num elements from this CharSequence.
- take(int) - Method in GString
-
A GString variant of the equivalent CharSequence method.
- take(int) - Method in Iterable
-
Returns the first num elements from the head of this Iterable.
- take(int) - Method in Iterator
-
Returns an iterator of up to the first num elements from this iterator.
- take(int) - Method in List
-
Returns the first num elements from the head of this List.
- take(int) - Method in Map
-
Returns a new map containing the first num elements from the head of this map.
- take(int) - Method in Object[]
-
Returns the first num elements from the head of this array.
- take(int) - Method in SortedSet
-
Returns the first num elements from the head of this SortedSet.
- take(int) - Method in String
-
A String variant of the equivalent CharSequence method.
- takeAfter(java.lang.CharSequence) - Method in CharSequence
-
Returns the CharSequence that exists after the first occurrence of the given
searchString in this CharSequence.
- takeAfter(java.lang.CharSequence) - Method in GString
-
- takeAfter(java.lang.CharSequence) - Method in String
-
- takeBefore(java.lang.CharSequence) - Method in CharSequence
-
Returns the CharSequence that exists before the first occurrence of the given
searchString in this CharSequence.
- takeBefore(java.lang.String) - Method in GString
-
- takeBefore(java.lang.String) - Method in String
-
- takeBetween(java.lang.CharSequence, int) - Method in CharSequence
-
Takes the characters between nth (specified by occurrence) pair of enclosure strings.
- takeBetween(java.lang.CharSequence, int) - Method in GString
-
- takeBetween(java.lang.CharSequence, int) - Method in String
-
- takeRight(int) - Method in CharSequence
-
Returns the last num elements from this CharSequence.
- takeRight(int) - Method in GString
-
- takeRight(int) - Method in Iterable
-
Returns the last num elements from the tail of this Iterable.
- takeRight(int) - Method in List
-
Returns the last num elements from the tail of this List.
- takeRight(int) - Method in Object[]
-
Returns the last num elements from the tail of this array.
- takeRight(int) - Method in SortedSet
-
Returns the last num elements from the tail of this SortedSet.
- takeRight(int) - Method in String
-
- takeWhile(groovy.lang.Closure) - Method in CharSequence
-
Returns the longest prefix of this CharSequence where each
element passed to the given closure evaluates to true.
- takeWhile(groovy.lang.Closure) - Method in GString
-
A GString variant of the equivalent GString method.
- takeWhile(groovy.lang.Closure) - Method in Iterable
-
Returns a Collection containing the longest prefix of the elements from this Iterable
where each element passed to the given closure evaluates to true.
- takeWhile(groovy.lang.Closure) - Method in Iterator
-
Returns the longest prefix of elements in this iterator where
each element passed to the given condition closure evaluates to true.
- takeWhile(groovy.lang.Closure) - Method in List
-
Returns the longest prefix of this list where each element
passed to the given closure condition evaluates to true.
- takeWhile(groovy.lang.Closure) - Method in Map
-
Returns the longest prefix of this Map where each entry (or key/value pair) when
passed to the given closure evaluates to true.
- takeWhile(groovy.lang.Closure<?>) - Method in Object[]
-
Returns the longest prefix of this array where each element
passed to the given closure evaluates to true.
- takeWhile(groovy.lang.Closure) - Method in SortedSet
-
Returns the longest prefix of this SortedSet where each element
passed to the given closure condition evaluates to true.
- tap(groovy.lang.Closure<T>) - Method in Object
-
Allows the closure to be called for the object reference self (similar
to with) and always returns self.
- tapEvery(groovy.lang.Closure<T>) - Method in Iterator
-
Allows the closure to be called for each element in the iterator.
- Temporal - Interface in java.time.temporal
GDK enhancements for Temporal.
- TemporalAccessor - Interface in java.time.temporal
GDK enhancements for TemporalAccessor.
- TemporalAmount - Interface in java.time.temporal
GDK enhancements for TemporalAmount.
- Thread - Class in java.lang
GDK enhancements for Thread.
- Throwable - Class in java.lang
GDK enhancements for Throwable.
- Timer - Class in java.util
GDK enhancements for Timer.
- times(groovy.lang.Closure) - Method in Number
-
Executes the closure this many times, starting from zero.
- Timestamp - Class in java.sql
GDK enhancements for Timestamp.
- TimeZone - Class in java.util
GDK enhancements for TimeZone.
- toArray(java.lang.Class<T>) - Method in Stream
-
Returns an array containing the elements of the stream.
- toBigDecimal() - Method in CharSequence
-
Parses a CharSequence into a BigDecimal
- toBigDecimal() - Method in Number
-
Transforms a Number into a BigDecimal.
- toBigInteger() - Method in CharSequence
-
Parses a CharSequence into a BigInteger
- toBigInteger() - Method in Number
-
Transforms this Number into a BigInteger.
- toBoolean() - Method in Boolean
-
Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.
- toBoolean() - Method in String
-
Converts the given string into a Boolean object.
- toCalendar() - Method in Date
-
Convert a Date to a Calendar.
- toCalendar() - Method in Instant
-
Returns a generally equivalent
Calendar in the GMT time zone, truncated to milliseconds.
- toCalendar() - Method in LocalDate
-
Returns an equivalent instance of
Calendar.
- toCalendar() - Method in LocalDateTime
-
Returns a generally equivalent instance of
Calendar.
- toCalendar() - Method in LocalTime
-
Returns a generally equivalent instance of
Calendar.
- toCalendar() - Method in OffsetDateTime
-
Returns a generally equivalent instance of
Calendar.
- toCalendar() - Method in OffsetTime
-
Returns a generally equivalent instance of
Calendar.
- toCalendar() - Method in ZonedDateTime
-
Returns a generally equivalent instance of
Calendar.
- toCharacter() - Method in String
-
Converts the given string into a Character object
using the first character in the string.
- toDate() - Method in Instant
-
Returns a generally equivalent
Date according the number of milliseconds since the epoch,
adjusted into the system default time zone.
- toDate() - Method in LocalDate
-
Returns an equivalent instance of
Date.
- toDate() - Method in LocalDateTime
-
Returns a generally equivalent instance of
Date.
- toDate() - Method in LocalTime
-
Returns a generally equivalent instance of
Date.
- toDate() - Method in OffsetDateTime
-
Returns a generally equivalent instance of
Date.
- toDate() - Method in OffsetTime
-
Returns a generally equivalent instance of
Date.
- toDate() - Method in ZonedDateTime
-
Returns a generally equivalent instance of
Date.
- toDayOfWeek() - Method in Calendar
-
Converts the Calendar to a corresponding
DayOfWeek.
- toDayOfWeek() - Method in Date
-
Converts the Date to a corresponding
DayOfWeek.
- toDouble() - Method in CharSequence
-
Parses a CharSequence into a Double.
- toDouble() - Method in Number
-
Transforms a Number into a Double.
- toFloat() - Method in CharSequence
-
Parses a CharSequence into a Float.
- toFloat() - Method in Number
-
Transforms a Number into a Float.
- toInstant() - Method in Calendar
-
Convenience method for converting a Calendar to a corresponding
Instant.
- toInteger() - Method in CharSequence
-
Parses a CharSequence into an Integer.
- toInteger() - Method in Number
-
Transforms a Number into an Integer.
- tokenize(java.lang.CharSequence) - Method in CharSequence
-
Tokenizes a CharSequence based on the given CharSequence.
- toList() - Method in BaseStream
-
Accumulates the elements of stream into a new List.
- toList() - Method in CharSequence
-
Converts the given CharSequence into a List of Strings of one character.
- toList() - Method in Enumeration
-
Convert an enumeration to a List.
- toList() - Method in Iterable
-
Convert an Iterable to a List.
- toList() - Method in Iterator
-
Convert an iterator to a List.
- toList() - Method in Object[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in boolean[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in byte[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in char[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in double[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in float[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in int[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in long[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in short[]
-
Converts this array to a List of the same size, with each element
added to the list.
- toList() - Method in Stream
-
Accumulates the elements of stream into a new List.
- toListString(int) - Method in Collection
-
Returns the string representation of the given list.
- toLocalDate() - Method in Date
-
Converts the Date to a corresponding
LocalDate.
- toLocalDateTime() - Method in Calendar
-
- toLocalDateTime() - Method in Date
-
- toLocalTime() - Method in Calendar
-
Converts the Calendar to a corresponding
LocalTime.
- toLocalTime() - Method in Date
-
Converts the Date to a corresponding
LocalTime.
- toLong() - Method in CharSequence
-
Parses a CharSequence into a Long
- toLong() - Method in Number
-
Transforms a Number into a Long.
- toLowerCase() - Method in Character
-
Converts the character to lowercase.
- toMapString(int) - Method in Map
-
Returns the string representation of this map.
- toMonth() - Method in Calendar
-
Converts the Calendar to a corresponding
Month.
- toMonth() - Method in Date
-
Converts the Date to a corresponding
Month.
- toMonthDay() - Method in Calendar
-
Converts the Calendar to a corresponding
MonthDay.
- toMonthDay() - Method in Date
-
Converts the Date to a corresponding
MonthDay.
- toOffsetDateTime() - Method in Calendar
-
- toOffsetDateTime() - Method in Date
-
- toOffsetTime() - Method in Calendar
-
Converts the Calendar to a corresponding
OffsetTime.
- toOffsetTime() - Method in Date
-
- toProcessBuilder() - Method in List
-
- toProcessBuilder() - Method in String
-
Creates a
ProcessBuilder from a command line String,
tokenized on whitespace.
- toProcessBuilder() - Method in String[]
-
- toRowResult() - Method in ResultSet
-
Returns a GroovyRowResult given a ResultSet.
- toSet() - Method in BaseStream
-
Accumulates the elements of stream into a new Set.
- toSet() - Method in CharSequence
-
Converts the given CharSequence into a Set of unique Strings of one character.
- toSet() - Method in Collection
-
Convert a Collection to a Set.
- toSet() - Method in Enumeration
-
Convert an enumeration to a Set.
- toSet() - Method in Iterable
-
Convert an Iterable to a Set.
- toSet() - Method in Iterator
-
Convert an iterator to a Set.
- toSet() - Method in Object[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in boolean[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in byte[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in char[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in double[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in float[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in int[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in long[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in short[]
-
Converts this array to a Set, with each unique element added to the set.
- toSet() - Method in Stream
-
Accumulates the elements of stream into a new Set.
- toShort() - Method in CharSequence
-
Parses a CharSequence into a Short.
- toSorted(groovy.lang.Closure) - Method in Iterable
-
Sorts this Iterable using the given Closure to determine the correct ordering.
- toSorted(groovy.lang.Closure) - Method in Iterator
-
Sorts the given iterator items into a sorted iterator using the Closure to determine the correct ordering.
- toSorted(groovy.lang.IntRange) - Method in List
-
Returns a list, sorted over the given range
using a NumberAwareComparator, leaving the original list unmodified.
- toSorted(groovy.lang.Closure) - Method in Map
-
Sorts the elements from the given map into a new ordered map using
the supplied Closure condition as a comparator to determine the ordering.
- toSorted(groovy.lang.Closure<?>) - Method in Object[]
-
Sorts the elements from this array into a newly created array using
the Closure to determine the correct ordering.
- toSorted() - Method in SortedMap
-
Avoids doing unnecessary work when sorting an already sorted map
- toSorted() - Method in SortedSet
-
Avoids doing unnecessary work when sorting an already sorted set
- toSpreadMap() - Method in Iterable
-
Creates a spreadable map from this iterable.
- toSpreadMap() - Method in List
-
Creates a spreadable map from this list.
- toSpreadMap() - Method in Map
-
Returns a new SpreadMap from this map.
- toSpreadMap() - Method in Object[]
-
Creates a spreadable map from this array.
- toString() - Method in AbstractCollection
-
Returns the string representation of the given collection.
- toString() - Method in AbstractMap
-
Returns the string representation of the given map.
- toString() - Method in Object
-
Create a String representation of this object.
- toString() - Method in Object[]
-
Returns the string representation of the given array.
- toString() - Method in boolean[]
-
Returns the string representation of the given array.
- toString() - Method in byte[]
-
Returns the string representation of the given array.
- toString() - Method in char[]
-
Returns the string representation of the given array.
- toString() - Method in double[]
-
Returns the string representation of the given array.
- toString() - Method in float[]
-
Returns the string representation of the given array.
- toString() - Method in int[]
-
Returns the string representation of the given array.
- toString() - Method in long[]
-
Returns the string representation of the given array.
- toString() - Method in short[]
-
Returns the string representation of the given array.
- toTimestamp() - Method in Date
-
Return a java.sql.Timestamp given a java.util.Date.
- toTimeZone() - Method in ZoneId
-
Returns a
TimeZone equivalent to this zone.
- toTimeZone() - Method in ZoneOffset
-
Returns a generally equivalent
TimeZone.
- toTuple() - Method in Map.Entry
-
Create a Tuple from the key and value of this Map Entry.
- toUnique(groovy.lang.Closure) - Method in Iterable
-
Returns a Collection containing the items from the Iterable but with duplicates removed.
- toUnique() - Method in Iterator
-
Returns an iterator equivalent to this iterator with all duplicated
items removed by using the natural ordering of the items.
- toUnique(groovy.lang.Closure) - Method in List
-
Returns a List containing the items from the List but with duplicates removed.
- toUnique(groovy.lang.Closure<?>) - Method in Object[]
-
Returns a new Array containing the items from the original Array but with duplicates removed with the supplied
closure determining which items are unique.
- toUpperCase() - Method in Character
-
Converts the character to uppercase.
- toURI() - Method in CharSequence
-
Transforms a CharSequence representing a URI into a URI object.
- toURI() - Method in String
-
Transforms a String representing a URI into a URI object.
- toURL() - Method in CharSequence
-
Transforms a CharSequence representing a URL into a URL object.
- toURL() - Method in String
-
Transforms a String representing a URL into a URL object.
- toYear() - Method in Calendar
-
Converts the Calendar to a corresponding
Year.
- toYear() - Method in Date
-
Converts the Date to a corresponding
Year.
- toYearMonth() - Method in Calendar
-
Converts the Calendar to a corresponding
YearMonth.
- toYearMonth() - Method in Date
-
Converts the Date to a corresponding
YearMonth.
- toZonedDateTime() - Method in Calendar
-
- toZonedDateTime() - Method in Date
-
- toZoneOffset(java.time.Instant) - Method in TimeZone
-
Converts this TimeZone to a corresponding
ZoneOffset.
- tr(java.lang.CharSequence, java.lang.CharSequence) - Method in CharSequence
-
Translates a CharSequence by replacing characters from the sourceSet with characters from replacementSet.
- trace(java.lang.String, java.lang.Object) - Method in System.Logger
-
Convenience method for logging trace level messages with the platform logger.
- transformChar(java.io.Writer, groovy.lang.Closure) - Method in Reader
-
Transforms each character from this reader by passing it to the given
closure.
- transformLine(java.io.Writer, groovy.lang.Closure) - Method in Reader
-
Transforms the lines from a reader with a Closure and
write them to a writer.
- transpose() - Method in List
-
Adds GroovyCollections#transpose(List) as a method on lists.
- transpose() - Method in boolean[][]
-
A transpose method for 2D boolean arrays.
- transpose() - Method in byte[][]
-
A transpose method for 2D byte arrays.
- transpose() - Method in char[][]
-
A transpose method for 2D char arrays.
- transpose() - Method in double[][]
-
A transpose method for 2D double arrays.
- transpose() - Method in float[][]
-
A transpose method for 2D float arrays.
- transpose() - Method in int[][]
-
A transpose method for 2D int arrays.
- transpose() - Method in long[][]
-
A transpose method for 2D long arrays.
- transpose() - Method in short[][]
-
A transpose method for 2D short arrays.
- transposing() - Method in double[][]
-
An iterator of the columns of the array.
- transposing() - Method in float[][]
-
An iterator of the columns of the array.
- transposing() - Method in int[][]
-
An iterator of the columns of the array.
- transposing() - Method in long[][]
-
An iterator of the columns of the array.
- traverse(java.util.Map<java.lang.String,?>) - Method in File
-
Invokes the closure specified with key 'visit' in the options Map
for each descendant file in this directory tree.
- traverse(java.util.Map<java.lang.String,java.lang.Object>) - Method in Path
-
Invokes the closure specified with key 'visit' in the options Map
for each descendant file in this directory tree.
- TreeNode - Interface in javax.swing.tree
GDK enhancements for TreeNode.
- TreePath - Class in javax.swing.tree
GDK enhancements for TreePath.
- trunc(int) - Method in BigDecimal
-
Truncate the value
- trunc(int) - Method in Double
-
Truncate the value
- trunc() - Method in Float
-
Truncate the value
- waitForOrKill(long) - Method in Process
-
Wait for the process to finish during a certain amount of time, otherwise stops the process.
- waitForProcessOutput(java.io.OutputStream, java.io.OutputStream) - Method in 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.
- waitForResult(long, java.util.concurrent.TimeUnit) - Method in Process
-
Executes the process and waits for it to complete within the given timeout,
capturing the standard output, standard error, and exit code into a
ProcessResult.
- warn(java.lang.String, java.lang.Object) - Method in System.Logger
-
Convenience method for logging warning level messages with the platform logger.
- with(boolean, groovy.lang.Closure<V>) - Method in Object
-
Allows the closure to be called for the object reference self.
- withCloseable(groovy.lang.Closure<T>) - Method in Object
-
Allows this AutoCloseable to be used within the closure, ensuring that it
is closed once the closure has been executed and before this method returns.
- withCollectedKeys(java.util.function.Function<? super V,K>) - Method in Iterable
-
Transform Iterable elements into Map entries with values unchanged
and keys transformed using the supplied function.
- withCollectedKeys(java.util.function.Function<? super V,K>) - Method in Iterator
-
A variant of withCollectedKeys for Iterators.
- withCollectedKeys(java.util.Map<K,V>, java.util.function.Function<? super V,K>) - Method in Object[]
-
A variant of withCollectedKeys for arrays.
- withCollectedValues(java.util.function.Function<? super K,V>) - Method in Iterable
-
Transform Iterable elements into Map entries with keys unchanged
and values transformed using the supplied function.
- withCollectedValues(java.util.function.Function<? super K,V>) - Method in Iterator
-
A variant of withCollectedValues for Iterators.
- withCollectedValues(java.util.Map<K,V>, java.util.function.Function<? super K,V>) - Method in Object[]
-
A variant of withCollectedValues for arrays.
- withDataInputStream(groovy.lang.Closure<T>) - Method in File
-
Create a new DataInputStream for this file and passes it into the closure.
- withDataInputStream(groovy.lang.Closure<T>) - Method in Path
-
Create a new DataInputStream for this file and passes it into the closure.
- withDataOutputStream(groovy.lang.Closure<T>) - Method in File
-
Create a new DataOutputStream for this file and passes it into the closure.
- withDataOutputStream(groovy.lang.Closure<T>) - Method in Path
-
Create a new DataOutputStream for this file and passes it into the closure.
- withDefault(groovy.lang.Closure<T>) - Method in List
-
An alias for withLazyDefault which decorates a list allowing
it to grow when called with index values outside the normal list bounds.
- withDefault(boolean, boolean, groovy.lang.Closure<V>) - Method in Map
-
Wraps a map using the decorator pattern with a wrapper that intercepts all calls
to get(key) and put(key, value).
- withEagerDefault(groovy.lang.Closure<T>) - Method in List
-
Decorates a list allowing it to grow when called with a non-existent index value.
- withFormatter(java.util.Locale, groovy.lang.Closure) - Method in Appendable
-
Invokes a Closure that uses a Formatter taking care of resource handling.
- withIndex(int) - Method in Iterable
-
Zips an Iterable with indices in (value, index) order.
- withIndex(int) - Method in Iterator
-
Zips an iterator with indices in (value, index) order.
- withIndex(int) - Method in Object[]
-
Zips an object array with indices in (value, index) order starting from a given index.
- withIndex(int) - Method in double[]
-
Zips a double array with indices in (value, index) order starting from a given index.
- withIndex(int) - Method in float[]
-
Zips a float array with indices in (value, index) order starting from a given index.
- withIndex(int) - Method in int[]
-
Zips an int array with indices in (value, index) order starting from a given index.
- withIndex(int) - Method in long[]
-
Zips a long array with indices in (value, index) order starting from a given index.
- withInputStream(groovy.lang.Closure) - Method in File
-
Create a new InputStream for this file and passes it into the closure.
- withInputStream(groovy.lang.Closure<T>) - Method in Path
-
Create a new InputStream for this file and passes it into the closure.
- withInputStream(groovy.lang.Closure<T>) - Method in URL
-
Creates a new InputStream for this URL and passes it into the closure.
- withLazyDefault(groovy.lang.Closure<T>) - Method in List
-
Decorates a list allowing it to grow when called with a non-existent index value.
- withMethodClosure(org.codehaus.groovy.runtime.MethodClosure) - Method in Object
-
A utility method for calling a method closure on an object.
- withObjectInputStream(java.lang.ClassLoader, groovy.lang.Closure<T>) - Method in File
-
Create a new ObjectInputStream for this file associated with the given class loader and pass it to the closure.
- withObjectInputStream(java.lang.ClassLoader, groovy.lang.Closure<T>) - Method in InputStream
-
Create a new ObjectInputStream for this input stream and pass it to the closure.
- withObjectInputStream(java.lang.ClassLoader, groovy.lang.Closure<T>) - Method in Path
-
Create a new ObjectInputStream for this file associated with the given class loader and pass it to the closure.
- withObjectOutputStream(groovy.lang.Closure<T>) - Method in File
-
Create a new ObjectOutputStream for this file and then pass it to the
closure.
- withObjectOutputStream(groovy.lang.Closure<T>) - Method in OutputStream
-
Create a new ObjectOutputStream for this output stream and then pass it to the
closure.
- withObjectOutputStream(groovy.lang.Closure<T>) - Method in Path
-
Create a new ObjectOutputStream for this path and then pass it to the
closure.
- withObjectStreams(groovy.lang.Closure<T>) - Method in Socket
-
Creates an InputObjectStream and an OutputObjectStream from a Socket, and
passes them to the closure.
- withOutputStream(groovy.lang.Closure) - Method in File
-
Creates a new OutputStream for this file and passes it into the closure.
- withOutputStream(groovy.lang.Closure<T>) - Method in Path
-
Creates a new OutputStream for this file and passes it into the closure.
- withOutputStream(groovy.lang.Closure) - Method in 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(java.lang.String, groovy.lang.Closure<T>) - Method in File
-
Create a new PrintWriter with a specified charset for this file.
- withPrintWriter(groovy.lang.Closure<T>) - Method in OutputStream
-
Create a new PrintWriter for this OutputStream.
- withPrintWriter(java.lang.String, groovy.lang.Closure<T>) - Method in Path
-
Create a new PrintWriter with a specified charset for
this file.
- withPrintWriter(groovy.lang.Closure<T>) - Method in Writer
-
Create a new PrintWriter for this Writer.
- withReader(java.lang.String, groovy.lang.Closure<T>) - Method in 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.
- withReader(java.lang.String, groovy.lang.Closure<T>) - Method in InputStream
-
Helper method to create a new Reader for a stream and then
passes it into the closure.
- withReader(java.lang.String, groovy.lang.Closure<T>) - Method in Path
-
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.
- withReader(groovy.lang.Closure<T>) - Method in Reader
-
Allows this reader to be used within the closure, ensuring that it
is closed before this method returns.
- withReader(java.lang.String, groovy.lang.Closure<T>) - Method in URL
-
Helper method to create a new Reader for a URL and then
passes it to the closure.
- withStream(groovy.lang.Closure<T>) - Method in Object
-
Passes this OutputStream to the closure, ensuring that the stream
is closed after the closure returns, regardless of errors.
- withStreams(groovy.lang.Closure<T>) - Method in Socket
-
Passes the Socket's InputStream and OutputStream to the closure.
- withTraits(java.lang.Class<?>) - Method in Object
-
Dynamically wraps an instance into something which implements the
supplied trait classes.
- withWriter(java.lang.String, groovy.lang.Closure<T>) - Method in 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.
- withWriter(java.lang.String, groovy.lang.Closure<T>) - Method in OutputStream
-
Creates a writer from this stream, passing it to the given closure.
- withWriter(java.lang.String, boolean, groovy.lang.Closure<T>) - Method in Path
-
Creates a new BufferedWriter for this file, passes it to the closure, and
ensures the stream is flushed and closed after the closure returns.
- withWriter(groovy.lang.Closure) - Method in 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(groovy.lang.Closure<T>) - Method in Writer
-
Allows this writer to be used within the closure, ensuring that it
is flushed and closed before this method returns.
- withWriterAppend(groovy.lang.Closure<T>) - Method in File
-
Create a new BufferedWriter for this file in append mode.
- withWriterAppend(groovy.lang.Closure<T>) - Method in Path
-
Create a new BufferedWriter for this file in append mode.
- write(java.lang.String, java.lang.String, boolean) - Method in File
-
Write the text to the File, using the specified encoding.
- write(java.lang.String, java.lang.String, boolean) - Method in Path
-
Write the text to the Path, using the specified encoding.
- write(groovy.lang.Writable) - Method in 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.
- writeAsync(java.lang.String, java.lang.String) - Method in Path
-
Asynchronously write the String content to the Path using the
specified charset.
- writeBytesAsync(byte[]) - Method in Path
-
Asynchronously write the byte array to the Path, creating the file
if it doesn't exist and truncating it if it does.
- writeLine(java.lang.String) - Method in BufferedWriter
-
Write the text and append a newline (using the platform's line-ending).
- Writer - Class in java.io
GDK enhancements for Writer.