Package org.jboss.util
Utility classes and interfaces.
Package Specification
Related Documentation
Package Status
- STABLE
Todo
- ???
-
Interface Summary Interface Description CachePolicy Interface that specifies a policy for caches.CharacterChecker Character checker interface.Executable Interface for the execution of a task.JBossInterface Clone the object without throwing a typed exception.NestedThrowable Interface which is implemented by all the nested throwable flavors.PrettyString A simple interface for objects that can return pretty (ie.PrettyString.Appendable Interface for appending the objects pretty string onto a buffer.Sync Interface that gives synchronization semantic to implementorsSysPropertyActions.SysProps ThrowableHandler.Type Container for throwable types.ThrowableListener An interface used to handle Throwable events.TimedCachePolicy.TimedEntry The interface that cache entries support.WaitSync Interface that gives wait - notify primitives to implementors. -
Class Summary Class Description AbstractNestedThrowable A common superclass for Throwable classes that can contain a nested Throwable detail object.Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.CharacterChecker.WhitespaceChecker Classes A collection ofClass
utilities.Counter An integer counter class.Counter.Wrapper Base wrapper class for other wrappers.FieldInstance A FieldInstance refers to a specific reflected field on an object.HashCode A hash-code generator and a collection of static hash-code generation methods.Heap 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.JBossObject Utility Class Utility Class that provides a Logger instance (log) and caching of toString() and hashCode() values.JBossStringBuilder A JBossStringBuilder, providing the same functionality as the java5 StringBuilder, except no Appendable which is java5 specific.LongCounter A long integer counter class.LongCounter.Wrapper Base wrapper class for other wrappers.LRUCachePolicy Implementation of a Least Recently Used cache policy.MethodHashing Create a unique hash forNestedThrowable.Util Utilitiy methods for the various flavors ofNestedThrowable
.Null A class that represents null.Objects A collection ofObject
utilities.Primitives Primitive utilities.Semaphore Semaphore that can allow a specified number of threads to enter, blocking the others.SoftObject Convenience class to wrap an Object into a SoftReference.StopWatch Simulates a stop watch with a lap counter.StopWatch.Wrapper Base wrapper class for other wrappers.StringPropertyReplacer A utility class for replacing properties in strings.Strings A collection of String utilities.Strings.Range Represents a range between two integers.SynchronizedCachePolicy A synchronized cache policy wrapper.SysPropertyActions Priviledged actions for the packageThrowableHandler A static singleton that handles processing throwables that otherwise would be ignored or dumped to System.err.Throwables A collection of Throwable utilities.TimedCachePolicy An implementation of a timed cache.TimedCachePolicy.DefaultTimedEntry The default implementation of TimedEntry used to wrap non-TimedEntry objects inserted into the cache.TimerQueue This class runs in a single threadTimerTask
s that have been scheduled.TimerTask A class that represent a task that can be scheduled for one-shot or repeated execution by aTimerQueue
.WaitSemaphore Wait exclusive semaphore with wait - notify primitivesWeakObject Convenience class to wrap an Object into a WeakReference.WorkerQueue Class that queuesExecutable
jobs that are executed sequentially by a single thread. -
Exception Summary Exception Description EmptyStringException Thrown to indicate that a string was empty (aka.NestedException A common superclass for Exception classes that can contain a nested Throwable detail object.NestedRuntimeException A common superclass for RuntimeException classes that can contain a nested Throwable detail object.NestedSQLException A common superclass for SQLException classes that can contain a nested Throwable detail object.NoSuchMethodException A better NoSuchMethodException which can take a Method object and formats the detail message based on in.NotImplementedException Thrown to indicate that a method has not been implemented yet.NullArgumentException Thrown to indicate that a method argument was null and should not have been.UnreachableStatementException Thrown to indicate that section of code that should never have been reachable, has just been reached. -
Error Summary Error Description NestedError A common superclass for Error classes that can contain a nested Throwable detail object.UnexpectedThrowable Thrown to indicate that a Throwable was caught but was not expected.