Package org.codehaus.groovy.util
package org.codehaus.groovy.util
Core utility classes. General-purpose utilities for Groovy implementation.
-
ClassDescriptionAllows an array to be used where an Iterable is expected.Allows an array to be used where an Iterator is expected.Allows a boolean array to be used where an Iterator is expected.Allows a byte array to be used where an Iterator is expected.Allows a char array to be used where an Iterator is expected.
Readerimplementation that can read from String, StringBuffer, StringBuilder, CharBuffer or GString.Allows a double array to be used where an Iterable is expected.Allows a double array to be used where an Iterator is expected.An iterator providing the columns of a double[][].Resizable object array optimized for append-heavy internal use and lightweight list views.Callback for objects that need cleanup when an associated reference is processed.Allows a primitive float array to be used where an Iterable is expected.Allows a float array to be used where an Iterator is expected.An iterator providing the columns of a float[][].A utility class to help calculate hashcode values using an algorithm similar to that outlined in "Effective Java, Joshua Bloch, 2nd Edition".Allows an int array to be used where an Iterable is expected.Allows an int array to be used where an Iterator is expected.An iterator providing the columns of an int[][].An implementation for BufferedIterator wraps Iterator.Soft reference with lazy initialization under lockAn implementation for BufferedIterator wraps ListIterator.ListHashMap<K,V> Represents aMapthat is optimized for a small number of entries.A bit simplified lock designed to be inherited by.Allows a long array to be used where an Iterable is expected.Allows a long array to be used where an Iterator is expected.An iterator providing the columns of a long[][].A queue that stores values wrapped in a Reference, the type of which is determined by the providedReferenceBundle.This is a basic implementation of a map able to forget its values.Reference wrapper that couples a referent with aReferenceManagercleanup lifecycle.Reference<T,V extends Finalizable> Abstraction over reference implementations that keep a cleanup handler alongside the referent.Couples aReferenceTypewith theReferenceManagerresponsible for processing it.Coordinates cleanup of managed references using idling, callback-driven, or threaded processing.Supported reference implementations for managed references.Exposes the Groovy release informationAllows a short array to be used where an Iterator is expected.Utilities for opening URL streams with Groovy-specific defaults.