Package com.partnersoft.data

Generic data structures, algorithms, and libraries.

See: Description

Package com.partnersoft.data Description

Generic data structures, algorithms, and libraries.

This package has a variety of tools to help with storing, managing, massaging, and mangling data. Think data-structure, not data-access or data-base. It is designed to be low-level and application-neutral, and cannot depend on any Partner package other than com.partnersoft.core and the standard Java API.

It includes some extensions of the Java Collections API, primarily centered around NameSet and com.partnersoft.data.OrderedNaming, which are more humane, case-insensitive alternatives to the usual Set and Map implementations.

It also contains several function libraries (*Lib) which provide extensions to the basic methods provided by the Java API. Of these, ConversionLib is probably the most useful and important; it is an all-purpose swiss army knife for converting various types to one another.

Generic sorting and searching algorithms are provided, so designed to be useful for anything from a small in-memory array to a multi-gigabyte file on disk.

A looser, high-performance alternative to ArrayList is provided in the DynamicArray hierarchy. These collections store primitives directly, without wrappers, and provide direct, public access to their internal representation. Use them instead of ArrayList whenever you really need to speed up your code or have tight control over the behavior of your collections.

Also provided are some cleaner implementations of Date, Time, and DateAndTime, without all the luggage of the Java API version (Date).

Copyright 1997-2006 Partner Software, Inc.

Author:
Paul Reavis, Russell Cagle