Package | Description |
---|---|
uwcse.collections |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAbstractList
An abstract superclass for list implementations.
|
class |
SimpleArrayList
An implementation of SimpleList, using a growable array of elements.
|
class |
SimpleLinkedList
An implementation of SimpleList, using a circular, doubly-linked
list, without dummy (header) nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleList.addAll(SimpleList c)
Add the items in the given list to the end of the receiver.
|
void |
SimpleAbstractList.addAll(SimpleList c)
Iterates over the given collection, adding each item to the end
of the receiver.
|
static void |
SimpleAbstractList.test(SimpleList list)
A generalized test method which can be used by subclasses.
|
Constructor and Description |
---|
ListTester(SimpleList list,
java.io.Reader r,
boolean doPrompt)
Make a new tester object for the given list.
|