public class CollectionUtils extends Object
Constructor and Description |
---|
CollectionUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsAny(Collection<?> source,
Object... candidates)
Return
true if any element in 'candidates ' is contained in
'source ', otherwise returns false . |
public static boolean containsAny(Collection<?> source, Object... candidates)
true
if any element in 'candidates
' is contained in
'source
', otherwise returns false
.source
- the source Collection.candidates
- the candidates to search for.Copyright © 2013–2015 Dandelion Project. All rights reserved.