Package calypso.util

Interface Summary
Comparer This interface is the thing used by QSort to compare two objects.
MemoryPressure  
Preferences This is an interface to get things from the Preferences database.
 

Class Summary
Abacus A class for counting in a variety of bases.
ArrayEnumeration  
Assert Simple assertion class that throws exceptions when an assertion fails.
Atom Atom's are unique objects that you can use the object address to perform equality tests.
AtomHashtable Special hashtable that uses Atoms as keys.
AttributeValuePair Simple attribute/value pair class XXX add in a recylcer XXX add in a method to reconsitute one from an InputStream/String?
ByteBuf This class is similar to java/lang/StringBuffer with the following changes: Stores bytes, not chars None of the methods are synchronized There is no sharing of the character array Converting to a String requires a copy of the character data Alloc and Recycle are provided to speed up allocation A bunch of useful operations are provided (comparisons, etc.)
ByteLineBuffer This class is stores data in a private ByteBuf appending new data as needed, and returning line separated data.
ByteToCharConverterEnumeration  
CacheOutputStream This class provides buffering for arbitrarily large streams of data.
CharArray  
CharArrayIterator  
CharToByteConverterEnumeration  
ClasspathEntryEnumeration  
ConfigUtils  
Counter Like Integer except the value is mutable
DefaultPreferences  
EnumerationEnumerator  
HashtableLite A utility class to avoid the pain (and memory bloat) of making lots of small hashtables.
HashtableRecycler Static recycler class for java.util.Hashtable
IDMap An identifier mapper.
LineBufferingInputStream  
ListenerList ListenersList is a thread-safe, reentrant class which contains a list of EventListeners and enforce some policy on event dispatching.
ListenerListState ListenersListState keeps the index into the array of listeners for the ListListeners class.
MemoryManager  
MemoryMonitor A utility class to help track memory usage during development.
NetworkDate Parses a date out of a string of bytes.
NullEnumeration  
NullJavaEnumeration  
PreferencesFactory A factory to return the (singleton) preferences object.
PrefetchEnumeration  
QSort Implements QuickSort, on an array of objects.
RandomAccessFileWithByteLines  
Recycler  
RWLock A "read-write" lock.
SelfTest SelfTest for calypso.util package
SignedInteger Utility class that represents the parse state from parsing a signed integer.
StringBuf This class is similar to java/lang/StringBuffer with the following changes: None of the methods are synchronized There is no sharing of the character array Converting to a String requires a copy of the character data Alloc and Recycle are provided to speed up allocation A bunch of useful operations are provided (comparisons, etc.)
StringUtils  
TempFile Utility class for generating temporary file names.
URLClassLoader A URL based class loader.
Vec Some more methods for Vector
VectorRecycler Static recycler class for java.util.Vector
WeakLink Weak link class.
WeakLinkArray An array of objects whose references are weak.
 

Exception Summary
SelfTestException Self test exceptions are thrown when self test code is invoked and fails to operate properly.
 

Error Summary
AssertionError Assertion errors are thrown when assertion code is invoked and fails to operate properly.
AssertionException Assertion exceptions are thrown when assertion code is invoked and fails to operate properly.