public class ChainedList<T>
extends java.util.LinkedList<T>
| Constructor and Description |
|---|
ChainedList()
Constructs an empty list.
|
ChainedList(java.util.Collection<T> c)
Constructs a list containing the elements of the specified collection,
in the order they are returned by the collection's iterator.
|
| Modifier and Type | Method and Description |
|---|---|
ChainedList |
addAllLinks(java.util.Collection<T> c)
Appends all of the elements in the specified collection to the end of this
list, in the order that they are returned by the specified collection's
iterator.
|
ChainedList |
addLink(T o)
Appends the specified element to the end of this list.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArraycontainsAll, isEmpty, removeAll, retainAll, toStringpublic ChainedList()
public ChainedList(java.util.Collection<T> c)
c - The collection whose elements are to be placed into this list.public ChainedList addAllLinks(java.util.Collection<T> c)
c - The collection whose elements are to be placed into this list.public ChainedList addLink(T o)
o - Element to be appended to this list.