V
- The member type of the listpublic final class MyReadOnlyLinkedList<V> extends MyReadOnlyList<V>
Constructor and Description |
---|
MyReadOnlyLinkedList(java.util.LinkedList<V> list)
Creates the MyReadOnlyList
|
Modifier and Type | Method and Description |
---|---|
V |
getFirst()
Gets the first element of the list
|
V |
getLast()
Gets the first element of the list
|
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
public MyReadOnlyLinkedList(java.util.LinkedList<V> list)
list
- -