com.github.dandelion.datatables.core.util
Class CollectionUtils
java.lang.Object
com.github.dandelion.datatables.core.util.CollectionUtils
public class CollectionUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionUtils
public CollectionUtils()
hasConfigurationWithValue
public static Boolean hasConfigurationWithValue(Map<ConfigToken<?>,Object> confMap,
ConfigToken<?> config,
Object value)
containsAny
public static boolean containsAny(Collection<?> source,
Object... candidates)
- Return
true if any element in 'candidates' is contained
in 'source', otherwise returns false.
- Parameters:
source - the source Collection.candidates - the candidates to search for.
- Returns:
- whether any of the candidates has been found.
Copyright © 2013–2014 Dandelion Project. All rights reserved.