# Package org.codehaus.groovy.util

package org.codehaus.groovy.util
Core utility classes. General-purpose utilities for Groovy implementation.

- Related Packages
  Package
  Description
  org.codehaus.groovy
  Groovy Language for the JVM
- Class
  Description
  ArrayIterable<T>
  Allows an array to be used where an Iterable is expected.
  ArrayIterator<T>
  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.
  Finalizable
  Callback for objects that need cleanup when an associated reference is processed.
  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<T>
  An implementation for BufferedIterator wraps Iterator.
  LazyReference<T>
  Soft reference with lazy initialization under lock
  ListBufferedIterator<T>
  An implementation for BufferedIterator wraps ListIterator.
  ListHashMap<K,V>
  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<T>
  A queue that stores values wrapped in a Reference, the type of which is determined by the provided `ReferenceBundle`.
  ManagedConcurrentValueMap<K,V>
  This is a basic implementation of a map able to forget its values.
  ManagedReference<T>
  Reference wrapper that couples a referent with a `ReferenceManager` cleanup lifecycle.
  Reference<T,V extends Finalizable>
  Abstraction over reference implementations that keep a cleanup handler alongside the referent.
  ReferenceBundle
  Couples a `ReferenceType` with the `ReferenceManager` responsible for processing it.
  ReferenceManager
  Coordinates cleanup of managed references using idling, callback-driven, or threaded processing.
  ReferenceType
  Supported reference implementations for managed references.
  ReleaseInfo
  Exposes the Groovy release information
  ShortArrayIterator
  Allows a short array to be used where an Iterator is expected.
  URLStreams
  Utilities for opening URL streams with Groovy-specific defaults.