Package org.jboss.util

Utility classes and interfaces.

See:
          Description

Interface Summary
CachePolicy (src) Interface that specifies a policy for caches.
CloneableObject.Cloneable (src) An interface which exposes a public clone method, unlike Object.clone() which is protected and throws exceptions...
Coercible (src) An iterface which an object implements to indicate that it will handle coercion by itself.
Executable (src) Interface for the execution of a task.
Mutable (src) Mutable object interface.
NestedThrowable (src) Interface which is implemented by all the nested throwable flavors.
PrettyString (src) A simple interface for objects that can return pretty (ie.
PrettyString.Appendable (src) Interface for appending the objects pretty string onto a buffer.
Sync (src) Interface that gives synchronization semantic to implementors
ThrowableHandler.Type (src) Container for throwable types.
ThrowableListener (src) An interface used to handle Throwable events.
TimedCachePolicy.TimedEntry (src) The interface that cache entries support.
WaitSync (src) Interface that gives wait - notify primitives to implementors.
 

Class Summary
AbstractNestedThrowable (src) A common superclass for Throwable classes that can contain a nested Throwable detail object.
Classes (src) A collection of Class utilities.
CloneableObject (src) A simple base-class for classes which need to be cloneable.
Conversion (src)  
Counter (src) An integer counter class.
DirectoryBuilder (src) A simple utility to make it easier to build File objects for nested directories based on the command line 'cd' pattern.
FieldInstance (src) A FieldInstance refers to a specific reflected field on an object.
HashCode (src) A hash-code generator and a collection of static hash-code generation methods.
Heap (src) Data structure that mantains data in a ordered binary tree; each node is greater (smaller) or equal than its 2 sub-nodes, for all the hierarchy.
Log4jLoggerFactory (src) JacORB logger factory that creates named Avalon loggers with log4j as the underlying log mechanism.
LongCounter (src) A long integer counter class.
LRUCachePolicy (src) Implementation of a Least Recently Used cache policy.
MethodHashing (src) Create a unique hash for
MuBoolean (src) A mutable boolean class.
MuByte (src) A mutable byte class.
MuCharacter (src) A mutable character class.
MuDouble (src) A mutable double class.
MuFloat (src) A mutable float class.
MuInteger (src) A mutable integer class.
MuLong (src) A mutable long integer class.
MuNumber (src) An abstract mutable number class.
MuShort (src) A mutable short class.
NestedThrowable.Util (src) Utilitiy methods for the various flavors of NestedThrowable.
Null (src) A class that represents null.
Objects (src) A collection of Object utilities.
Primitives (src) Primitive utilities.
Semaphore (src) Semaphore that can allow a specified number of threads to enter, blocking the others.
SoftObject (src) Convenience class to wrap an Object into a SoftReference.
StackTrace (src) Provides access to the current stack trace by parsing the output of Throwable.printStackTrace().
StackTrace.Entry (src) A stack trace entry.
StackTrace.Parser (src) A parser which takes a standard Throwable and produces StackTrace.Entry (src) objects.
StopWatch (src) Simulates a stop watch with a lap counter.
StringPropertyReplacer (src) A utility class for replacing properties in strings.
Strings (src) A collection of String utilities.
Strings.Range (src) Represents a range between two integers.
SynchronizedCachePolicy (src) A synchronized cache policy wrapper.
ThrowableHandler (src) A static singleton that handles processing throwables that otherwise would be ignored or dumped to System.err.
Throwables (src) A collection of Throwable utilities.
TimedCachePolicy (src) An implementation of a timed cache.
TimerQueue (src) This class runs in a single thread TimerTask (src) s that have been scheduled.
TimerTask (src) A class that represent a task that can be scheduled for one-shot or repeated execution by a TimerQueue (src) .
WaitSemaphore (src) Wait exclusive semaphore with wait - notify primitives
WeakObject (src) Convenience class to wrap an Object into a WeakReference.
WorkerQueue (src) Class that queues Executable (src) jobs that are executed sequentially by a single thread.
 

Exception Summary
CoercionException (src) This exception is thrown to indicate that a problem has occured while trying to coerce an object.
DataConversionException (src) An exception throw to indicate a problem with some type of data conversion.
EmptyStringException (src) Thrown to indicate that a string was empty (aka.
NestedException (src) A common superclass for Exception classes that can contain a nested Throwable detail object.
NestedRuntimeException (src) A common superclass for RuntimeException classes that can contain a nested Throwable detail object.
NestedSQLException (src) A common superclass for SQLException classes that can contain a nested Throwable detail object.
NoSuchMethodException (src) A better NoSuchMethodException which can take a Method object and formats the detail message based on in.
NotCoercibleException (src) This exception is thrown to indicate that an object was not coercible.
NotImplementedException (src) Thrown to indicate that a method has not been implemented yet.
NullArgumentException (src) Thrown to indicate that a method argument was null and should not have been.
UnreachableStatementException (src) Thrown to indicate that section of code that should never have been reachable, has just been reached.
 

Error Summary
NestedError (src) A common superclass for Error classes that can contain a nested Throwable detail object.
UnexpectedThrowable (src) Thrown to indicate that a Throwable was caught but was not expected.
 

Package org.jboss.util Description

Utility classes and interfaces.

Package Specification

Related Documentation

Package Status

Todo