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

Interface Summary
RecentItems.Callback  
 

Class Summary
ArrayIterator De-mystify the Iterator interface, showing how to write a simple Iterator for an Array of Objects.
DateRangeUIHelper Utilities for using choice items like "Modified in last..." and a list of { day, week, month...}.
DateRangeUIHelper.Range Tiny data holder for a range like "7d" and its numeric equivalent.
DateSimple DateSimple represents YYYY-MM-DD without all the overhead and deprecated baggage of java.util.Date.
DateUtils  
Debug Utilities for debugging
EnumerationIterator<T> 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".
FixedLengthFIFO<T> A Fixed-size FIFO.
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<T> A general-purpose List, in which objects keep their identity (index), that is, insert() operations do not renumber remaining objects.
IteratorEnumerationBridge<T> Make instances of newer Iterator look like older Enumeration, for some kind of backwards compatibility.
MiniMax Polymorphic forms of some standard Math functions.
OrdinalFormat Ordinal formatted numbers: 1st, 2nd, 3rd, 4th, etc.
PrefsUtils  
PropertiesMap PropertiesMap -- a Map that loads from a Properties file, but unlike Properties, preserves the ordering of the original file.
RecentItems A list of recent items, such as a Recent File Menu, a Recent Choices dropdown, etc.
ScaledNumberFormat Format numbers scaled for human comprehension.
VariableMap A HashMap with Variable substitution, using ${key} syntax.
 

Enum Summary
SystemType Identify the Operating System.
Verbosity  
 

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 © 1996-2004 Ian F. Darwin. See license.html for usage license.