Generated by
JDiff

Class java.util.Collections

Documentation changed from old to new.

Added Methods
int indexOfSubList(List, List) Returns the starting position of the first occurrence of the specified target list within the specified source list or -1 if there is no such occurrence.
int lastIndexOfSubList(List, List) Returns the starting position of the last occurrence of the specified target list within the specified source list or -1 if there is no such occurrence.
ArrayList list(Enumeration) Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.
boolean replaceAll(List, Object, Object) Replaces all occurrences of one specified value in a list with another.
void rotate(List, int) Rotates the elements in the specified list by the specified distance.
void swap(List, int, int) Swaps the elements at the specified positions in the specified list.
 

Changed Methods
Enumeration enumeration(Collection) Documentation changed from old to new.
Returns an enumeration over the specified collection.
void fill(List, Object) Documentation changed from old to new.
Replaces all of the elements of the specified list with the specified element.
void reverse(List) Documentation changed from old to new.
Reverses the order of the elements in the specified list.
List unmodifiableList(List) Documentation changed from old to new.
Returns an unmodifiable view of the specified list.
int binarySearch(List, Object) Documentation changed from old to new.
Searches the specified list for the specified object using the binary search algorithm.
int binarySearch(List, Object, Comparator) Documentation changed from old to new.
Searches the specified list for the specified object using the binary search algorithm.
void shuffle(List) Documentation changed from old to new.
Randomly permutes the specified list using a default source of randomness.
void shuffle(List, Random) Documentation changed from old to new.
Randomly permute the specified list using the specified source of randomness.