Java org.springframework.util CollectionUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util CollectionUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util CollectionUtils.

The text is from its open source code.

Method

ListarrayToList(@Nullable Object source)
Convert the supplied array into a List.
booleancontains(@Nullable Iterator iterator, Object element)
Check whether the given Iterator contains the given element.
booleancontains(@Nullable Enumeration enumeration, Object element)
Check whether the given Enumeration contains the given element.
booleancontainsAny(Collection source, Collection candidates)
Return true if any element in ' candidates ' is contained in ' source '; otherwise returns false .
booleancontainsInstance(@Nullable Collection collection, Object element)
Check whether the given Collection contains the given element instance.
ClassfindCommonElementType(Collection collection)
Find the common element type of the given Collection, if any.
EfindFirstMatch(Collection source, Collection candidates)
Return the first element in ' candidates ' that is contained in ' source '.
TfindValueOfType(Collection collection, @Nullable Class type)
Find a single value of the given type in the given Collection.
ObjectfindValueOfType(Collection collection, Class[] types)
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
booleanisEmpty(@Nullable Collection collection)
Return true if the supplied Collection is null or empty.
booleanisEmpty(@Nullable Map map)
Return true if the supplied Map is null or empty.
voidmergeArrayIntoCollection(@Nullable Object array, Collection collection)
Merge the given array into the given Collection.
voidmergePropertiesIntoMap(@Nullable Properties props, Map map)
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
IteratortoIterator(@Nullable Enumeration enumeration)
Adapt an Enumeration to an Iterator .
MultiValueMaptoMultiValueMap(Map> map)
Adapt a Map> to an MultiValueMap .
MultiValueMapunmodifiableMultiValueMap( MultiValueMap map)
Return an unmodifiable view of the specified multi-value map.