# Package org.eclipse.net4j.util

Utility classes.

- Interface Summary
  Interface | Description
  --- | ---
  ConsumerWithException<T,​E extends java.lang.Exception> | An interface with an `ConsumerWithException.accept(Object)` method that can propagate checked exceptions.
  Handler<T> | Deprecated. As of 3.10 use `Consumer`.
  IErrorHandler | A callback interface with a `handleError()` method.
  Predicate<T> | Deprecated. As of 3.10 use `Predicate`.
  RunnableWithException | An interface with a `RunnableWithException.run()` method that can propagate checked exceptions.
  XMLUtil.ElementHandler |

- Class Summary
  Class | Description
  --- | ---
  AdapterUtil | Provides a single static `adapt()` method that conveniently and safely wraps the Platform's adaptation framework.
  ArrayUtil | Various static helper methods.
  CheckUtil | Provides static methods that check object states and invocation arguments.
  HexUtil | Provides static methods that convert to and from hexadecimal string formats.
  ObjectUtil | Various static helper methods.
  Predicate.DelegatingPredicate<T> | Deprecated. As of 3.10 use `Predicate`.
  Predicates | Deprecated. As of 3.10 use `Predicate`.
  Predicates.ExcludedPredicate<T> |
  Predicates.IncludedPredicate<T> |
  Predicates.UniquePredicate<T> |
  ReflectUtil | Various static helper methods for dealing with Java reflection.
  StringUtil | Various static helper methods for dealing with strings.
  UUIDGenerator | Generates 16 byte UUID values and can encode them to Strings, decode from Strings respectively.
  XMLUtil |

- Enum Summary
  Enum | Description
  --- | ---
  ReflectUtil.PrimitiveType |

- Exception Summary
  Exception | Description
  --- | ---
  ReflectUtil.ReflectionException |
  WrappedException | An unchecked exception that wraps a checked exception.

- Error Summary
  Error | Description
  --- | ---
  ImplementationError | Should not be used anymore in favour of `AssertionError`.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  ReflectUtil.ExcludeFromDump | Annotates fields that are to be skipped in `ReflectUtil.collectFields()` and `ReflectUtil.toString()`.