# Package org.apache.groovy.util

package org.apache.groovy.util
General-purpose utility classes. Miscellanea for Groovy runtime.

- Related Packages
  Package
  Description
  org.apache.groovy.util.concurrent
  Concurrent programming utilities.
- Class
  Description
  Arrays
  Array utilities.
  BeanUtils
  Utility methods for working with JavaBean-style property names.
  Closures
  Helpers that return hybrid one-argument functions which are both `Closure` and the appropriate `java.util.function` SAM (`Predicate`, `Function` or `Consumer`).
  Closures.ConsumerClosure<T>
  Hybrid one-argument function that is both a `Closure` and a `Consumer`.
  Closures.FunctionClosure<T,R>
  Hybrid one-argument function that is both a `Closure` and a `Function`.
  Closures.PredicateClosure<T>
  Hybrid one-argument function that is both a `Closure` and a `Predicate`.
  JavaShell
  A shell for compiling or running pure Java code in-memory using the platform's `JavaCompiler`.
  JavaShellCompilationException
  Indicates that `JavaShell` could not compile the supplied Java source.
  Lambdas
  Helpers that return `java.util.function` types.
  Maps
  Map utilities.
  ObjectHolder<T>
  Just hold an object
  ReversedList<E>
  Represents view of reversed list
  ScriptRunner
  The tool to simulate running script files via groovy command
  SystemUtil
  Utility methods for interacting with system properties in a safe manner.