General Java-related utility classes.
Interface Summary Interface Description GraphCloneableImplemented by objects in an object graph that support graph cloning, i.e., deep copies without duplicates and preserving reference topology. PredicateA boolean predicate. PrimitiveSwitch<R>Visitor pattern interface for
Class Summary Class Description AnnotationUtilAnnotation utility methods. EnumUtilUtility methods for
GraphCloneRegistryA registry for copies of
GraphCloneableobjects used during graph cloning operations.
IdGeneratorRegistry of unique IDs for objects. MethodAnnotationScanner<T,A extends Annotation>Scan a class hierarchy for annotated methods in an override-aware manner. ObjectComparatorA
Comparatorthat creates a stable, total ordering of all Java objects.
Primitive<T>Simple utility enumeration for working Java
Classinstances representing primitive types (including
PrimitiveSwitchAdapter<R>Adapter class for
ProcessRunnerHandles external process I/O and async execution. ReflectUtilReflection utility methods. SerializableMethod SuperFinalA hack to workaround a stupid JLS restriction which requires
super()be the first statement in a constructor.
ThreadLocalHolder<T>Manages a thread local whose lifetime matches the duration of some method call. ThreadParkingLotA place for threads to be parked and unparked. ThrowableUtilUtility methods dealing with
TimedWaitUtility class for performing timed waits on objects.
Enum Summary Enum Description ErrorActionEnumeration of possible actions to take when an error of some kind is detected.
Exception Summary Exception Description CheckedExceptionWrapperWraps checked exceptions so they can be thrown across API methods that don't declare them.