Package org.eclipse.net4j.util
Utility classes.
-
Interface Summary Interface Description ConsumerWithException<T,E extends java.lang.Exception> An interface with anConsumerWithException.accept(Object)
method that can propagate checked exceptions.Handler<T> Deprecated. As of 3.10 useConsumer
.IErrorHandler A callback interface with ahandleError()
method.Predicate<T> Deprecated. As of 3.10 usePredicate
.RunnableWithException An interface with aRunnableWithException.run()
method that can propagate checked exceptions.XMLUtil.ElementHandler -
Class Summary Class Description AdapterUtil Provides a single staticadapt()
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 usePredicate
.Predicates Deprecated. As of 3.10 usePredicate
.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 ofAssertionError
. -
Annotation Types Summary Annotation Type Description ReflectUtil.ExcludeFromDump Annotates fields that are to be skipped inReflectUtil.collectFields()
andReflectUtil.toString()
.