Delete ALL occurrences of e from the list
Obtain a new list by removing all element with the provided key from this list.
Obtain a new list by removing the first element with the provided key from this list.
Obtain a new list by removing the first occurrence of e from this list.
Obtain a new list by removing the last element with the provided key from this list.
Get an element from the list with the provided key.
Get all elements in this list with the provided key.
Get all elements in this list with the provided key. The order in which the elements are stored in the returned list is consistent with the order they are stored in the original list. Note: This version of getAll is easier to verify for Leon than the concise version def getAll (key: K) = this.filter(item => item.key == key).
Get the first element in this list with the provided key.
Get the last element in this list with the provided key.