|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--AbstractList | +--LinkedList
Defined in linked_list.js
Nested Class Summary | |
<static class> |
LinkedList.Item |
Fields inherited from class AbstractList |
|
Constructor Summary | |
LinkedList
()
Creates a traditional doubly-linked list. |
Method Summary | |
void
|
clear()
Empties the list. |
Methods inherited from class AbstractList |
append, contains, copy, getHead, getIndexOf, getItemAfter, getItemAt, getItemBefore, getLength, getTail, insertAfter, insertBefore, insertItemAt, isEmpty, iterator, join, prepend, remove, removeAll, removeHead, removeTail, removeItemAt, replace, reverseIterator, selectRangeInto, sort, toArray, toString
|
Constructor Detail |
function LinkedList()
Method Detail |
void clear()
clear()
, the list is
empty—list.getHead()
, list.getTail()
will both return null
and list.getLength()
will return 0
.
|
Sydney | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |