Added Methods |
boolean contains(Enumeration<?>, Object)
|
Check whether the given Enumeration contains the given element. |
boolean contains(Iterator<?>, Object)
|
Check whether the given Iterator contains the given element. |
boolean isEmpty(Collection<?> )
|
Return {@code true} if the supplied Collection is {@code null} or empty. |
boolean isEmpty(Map<?, ?>)
|
Return {@code true} if the supplied Map is {@code null} or empty. |
Changed Methods |
boolean containsAny(Collection<?>, Collection<?>)
|
Change in signature from (Collection, Collection ) to (Collection<?>, Collection<?> ).
|
Return {@code true} if any element in '{@code candidates}' is
contained in '{@code source}'; otherwise returns {@code false}. |
boolean containsInstance(Collection<?>, Object)
|
Change in signature from (Collection, Object ) to (Collection<?>, Object ).
|
Check whether the given Collection contains the given element instance. |
Class<?> findCommonElementType(Collection<?> )
|
Change in signature from Collection to Collection<?> .
|
Find the common element type of the given Collection, if any. |
E findFirstMatch(Collection<?>, Collection<E>)
|
Change in return type from Object to E .
Change in signature from (Collection, Collection ) to (Collection<?>, Collection<E> ).
|
Return the first element in '{@code candidates}' that is contained in
'{@code source}'. |
boolean hasUniqueObject(Collection<?> )
|
Change in signature from Collection to Collection<?> .
|
Determine whether the given Collection only contains a single unique object. |
void mergeArrayIntoCollection(Object, Collection<E>)
|
Change in signature from (Object, Collection ) to (Object, Collection<E> ).
|
Merge the given array into the given Collection. |
void mergePropertiesIntoMap(Properties, Map<K, V>)
|
Change in signature from (Properties, Map ) to (Properties, Map<K, V> ).
|
Merge the given Properties instance into the given Map,
copying all properties (key-value pairs) over. |