|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BooksLinkedList
Class BooksLinkedList is an alternate implementation of the LinkedList example given in Section 3.2.3 of the text book. The differences between this implementation and the book's are the following:
Constructor Summary | |
BooksLinkedList()
Construct a new empty list. |
Method Summary | |
boolean |
isEmpty()
Return true if this is empty, false if not. |
void |
makeEmpty()
Make this empty. |
java.lang.String |
toString()
Generate the string representation of this as a space-delimted sequence of elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BooksLinkedList()
Method Detail |
public boolean isEmpty()
public void makeEmpty()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |