Generated by
JDiff

Class org.springframework.util.CollectionUtils

Added Methods
T lastElement(List<T>) Retrieve the last element of the given List, accessing the highest index.
T lastElement(Set<T>) Retrieve the last element of the given Set, using SortedSet.last() or otherwise iterating over all elements (assuming a linked set).