Package org.keycloak.common.util
Class CollectionUtil
- java.lang.Object
- 
- org.keycloak.common.util.CollectionUtil
 
- 
 public class CollectionUtil extends Object - Author:
- Jeroen Rosenberg
 
- 
- 
Constructor SummaryConstructors Constructor Description CollectionUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> booleancollectionEquals(Collection<T> col1, Collection<T> col2)static <T> Set<T>intersection(Collection<T> col1, Collection<T> col2)static booleanisEmpty(Collection<?> collection)static booleanisNotEmpty(Collection<?> collection)static Stringjoin(Collection<String> strings)static Stringjoin(Collection<String> strings, String separator)
 
- 
- 
- 
Method Detail- 
joinpublic static String join(Collection<String> strings) 
 - 
joinpublic static String join(Collection<String> strings, String separator) 
 - 
collectionEqualspublic static <T> boolean collectionEquals(Collection<T> col1, Collection<T> col2) 
 - 
isEmptypublic static boolean isEmpty(Collection<?> collection) 
 - 
isNotEmptypublic static boolean isNotEmpty(Collection<?> collection) 
 - 
intersectionpublic static <T> Set<T> intersection(Collection<T> col1, Collection<T> col2) 
 
- 
 
-