Java programmeerimise konspekt
static void fill(List list, Object obj)
Replaces all of the elements of the specified list
with the specified element.
static int indexOfSubList(List source, List target)
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.
static int lastIndexOfSubList(List source, List target)
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.
static Object max(Collection coll)
Returns the maximum element of the given
collection, according to the natural ordering of its
elements.