# Package org.codehaus.groovy.util

## Package org.codehaus.groovy.util Description

Core utility classes. General-purpose utilities for Groovy implementation.

- Interface Summary
  Interface | Description
  --- | ---
  Finalizable | Callback for objects that need cleanup when an associated reference is processed.
  Reference | Abstraction over reference implementations that keep a cleanup handler alongside the referent.

- Class Summary
  Class | Description
  --- | ---
  ArrayIterable | Allows an array to be used where an Iterable is expected.
  ArrayIterator | Allows an array to be used where an Iterator is expected.
  BooleanArrayIterator | Allows a boolean array to be used where an Iterator is expected.
  ByteArrayIterator | Allows a byte array to be used where an Iterator is expected.
  CharArrayIterator | Allows a char array to be used where an Iterator is expected.
  CharSequenceReader | Reader implementation that can read from String, StringBuffer, StringBuilder, CharBuffer or GString.
  DoubleArrayIterable | Allows a double array to be used where an Iterable is expected.
  DoubleArrayIterator | Allows a double array to be used where an Iterator is expected.
  DoubleDoubleArrayColumnIterator | An iterator providing the columns of a double[][].
  FastArray | Resizable object array optimized for append-heavy internal use and lightweight list views.
  FloatArrayIterable | Allows a primitive float array to be used where an Iterable is expected.
  FloatArrayIterator | Allows a float array to be used where an Iterator is expected.
  FloatFloatArrayColumnIterator | An iterator providing the columns of a float[][].
  HashCodeHelper | A utility class to help calculate hashcode values using an algorithm similar to that outlined in "Effective Java, Joshua Bloch, 2nd Edition".
  IntArrayIterable | Allows an int array to be used where an Iterable is expected.
  IntArrayIterator | Allows an int array to be used where an Iterator is expected.
  IntIntArrayColumnIterator | An iterator providing the columns of an int[][].
  IteratorBufferedIterator | An implementation for BufferedIterator wraps Iterator.
  LazyReference | Soft reference with lazy initialization under lock
  ListBufferedIterator | An implementation for BufferedIterator wraps ListIterator.
  ListHashMap | Represents a Map that is optimized for a small number of entries.
  LockableObject | A bit simplified lock designed to be inherited by.
  LongArrayIterable | Allows a long array to be used where an Iterable is expected.
  LongArrayIterator | Allows a long array to be used where an Iterator is expected.
  LongLongArrayColumnIterator | An iterator providing the columns of a long[][].
  ManagedConcurrentLinkedQueue | A queue that stores values wrapped in a Reference, the type of which is determined by the provided ReferenceBundle.
  ManagedConcurrentValueMap | This is a basic implementation of a map able to forget its values.
  ManagedReference | Reference wrapper that couples a referent with a ReferenceManager cleanup lifecycle.
  ReferenceBundle | Couples a ReferenceType with the ReferenceManager responsible for processing it.
  ReferenceManager | Coordinates cleanup of managed references using idling, callback-driven, or threaded processing.
  ReleaseInfo | Exposes the Groovy release information
  ShortArrayIterator | Allows a short array to be used where an Iterator is expected.
  StringUtil | String utility functions.
  URLStreams | Utilities for opening URL streams with Groovy-specific defaults.

- Enum Summary
  Enum | Description
  --- | ---
  ReferenceType | Supported reference implementations for managed references.