This library supports three types of linear collections, based on arrays
which are automatically expanded as more items are added. All build upon the
com.sosnoski.util.GrowableBase base class, which provides general support for
the expandable array implementations.
The array collection type, in package
com.sosnoski.util.array,
is a work-alike for the standard Vector or ArrayList
classes. It provides direct access to the data values, using offsets from the
start of the array.
The queue collection type, in package
com.sosnoski.util.queue,
has no direct equivalent amoung the standard collection classes. It's a simple
first-in-first-out (FIFO) queue implementation, with methods to add to
the end and remove from the front of the queue.
The stack collection type, in package
com.sosnoski.util.stack,
is a work-alike for the standard Stack class. It's a simple
last-in-first-out (LIFO) stack implementation, with basic methods to add to and
remove from the top of the stack along with support for viewing values in the
stack by offset from the top.