|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SList | |
|---|---|
| data_structures | Stuff here. |
| Uses of SList in data_structures |
|---|
| Methods in data_structures that return SList | |
|---|---|
SList<O> |
SList.add(List<O> otherList)
Add every element from otherList to the static list. |
SList<O> |
SList.add(O element)
Add an element to the static list in O(1) time. |
SList<O> |
SList.add(O[] elements)
Add x elements to the static list in O(x) time. |
SList<O> |
SList.clone()
Return a deep copy of the dynamic list. |
protected SList<O> |
SList.makeList(int length,
data_structures.List.Node<O> first)
This protected method is used instead of a constructor to create new lists when this list is modified. |
SList<O> |
SList.remove(O element)
Remove the first instance of a given object from the static list in O(n) time. |
SList<O> |
SList.removeAll(O element)
Remove every instance of a given object from the static list in O(n) time. |
SList<O> |
SList.removeAllEquals(O element)
Remove every instance of a given object from the list in O(n) time. |
SList<O> |
SList.removeEquals(O element)
Remove the first instance of a given object from the static list in O(n) time. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||