Collection operations
|
max
|
|
min
|
|
binarySearch
copy
fill
indexOfSubList
lastIndexOfSubList
list
|
|
replaceAll
reverse
rotate
shuffle
sort
swap
|
Fourteen, and here they are. java.util.Collections provides 14 of these operations.
Only two of which operate on a Collection.
The remainder, with one exception, operate on Lists, and most of those on sorted Lists. Even some of those probably shouldn't be provided for a general list. Sorting and binary searching a linked list isn't a cheap operation.