Package com.darwinsys.util

A few miscellaneous utility classes (note that in May 2003, this package was split into several com/darwinsys/* packages), and many classes "moved out" to adjacent packages.

See:
          Description

Class Summary
ArrayIterator De-mystify the Iterator interface, showing how to write a simple Iterator for an Array of Objects.
Debug Utilities for debugging
EnumerationIterator A GOF Adapter to make instances of old Enumeration interface behave like new Iterator interface, so we only have to deal with one well-defined implementation of the Iterator pattern.
FileProperties The FileProperties class extends Properties, "a persistent set of properties [that] can be saved to a stream or loaded from a stream".
IdMapEntry An IdMapEntry is one int-String pair, for example, an "id" or primary key in a database and a name or description of the item in the named row.
IndexList A general-purpose List, in which objects keep their identity (index), that is, insert() operations do not renumber remaining objects.
MkAccessors MkAccessors is a utility to make a series of Java "accessors" (set/get methods a la JavaBeans pattern).
PropertiesMap PropertiesMap -- a Map that loads from a Properties file, but unlike Properties, preserves the ordering of the original file.
ScaledNumberFormat Format numbers scaled for human comprehension.
 

Package com.darwinsys.util Description

A few miscellaneous utility classes (note that in May 2003, this package was split into several com/darwinsys/* packages), and many classes "moved out" to adjacent packages.



Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.