Package org.eclipse.net4j.util
package org.eclipse.net4j.util
Utility classes.
-
ClassDescriptionProvides a single static
adapt()
method that conveniently and safely wraps the Platform's adaptation framework.Various static helper methods.Provides static methods that check object states and invocation arguments.ConsumerWithException<T,E extends Exception> An interface with anConsumerWithException.accept(Object)
method that can propagate checked exceptions.Handler<T>Deprecated.Provides static methods that convert to and from hexadecimal string formats.A callback interface with ahandleError()
method.Should not be used anymore in favor ofAssertionError
.Various static helper methods.Can receive parameters.Predicate<T>Deprecated.As of 3.10 usePredicate
.Deprecated.As of 3.10 usePredicate
.Deprecated.As of 3.10 usePredicate
.Various static helper methods for dealing with Java reflection.Annotates fields that are to be skipped inReflectUtil.collectFields()
andReflectUtil.toString()
.An interface with aRunnableWithException.run()
method that can propagate checked exceptions.Converts any kind ofobjects
to strings.StringParser<T>Parses strings and returns any kind ofobjects
.StringParser.EnumStringParser<T extends Enum<T>>Tests the relationships of pairs of strings.Various static helper methods for dealing with strings.Generates 16 byte UUID values and can encode them to Strings, decode from Strings respectively.An unchecked exception that wraps a checked exception.
Consumer
.