# Package org.apache.groovy.util

## Package org.apache.groovy.util Description

General-purpose utility classes. Miscellanea for Groovy runtime.

- Class Summary
  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 function SAM (Predicate, Function or Consumer).
  Closures.ConsumerClosure | Hybrid one-argument function that is both a Closure and a Consumer.
  Closures.FunctionClosure | Hybrid one-argument function that is both a Closure and a Function.
  Closures.PredicateClosure | 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.
  Lambdas | Helpers that return function types.
  Maps | Map utilities.
  ObjectHolder | Just hold an object
  ReversedList | 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.

- Exception Summary
  Exception | Description
  --- | ---
  JavaShellCompilationException | Indicates that JavaShell could not compile the supplied Java source.