Top Constructors Methods
org.keycloak.common.util

public Class CollectionUtil

extends Object
Class Inheritance
Imports
java.util.Collection, .Collections, .HashMap, .Iterator, .Map, .Set, java.util.stream.Collectors

Author
Jeroen Rosenberg

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static <T> boolean
public static <T> Set<T>
public static boolean
isEmpty(Collection<?> collection)

public static boolean
isNotEmpty(Collection<?> collection)

public static String
public static String
join(Collection<String> strings, String separator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CollectionUtilback to summary
public CollectionUtil()

Method Detail

collectionEqualsback to summary
public static <T> boolean collectionEquals(Collection<T> col1, Collection<T> col2)
intersectionback to summary
public static <T> Set<T> intersection(Collection<T> col1, Collection<T> col2)
isEmptyback to summary
public static boolean isEmpty(Collection<?> collection)
isNotEmptyback to summary
public static boolean isNotEmpty(Collection<?> collection)
joinback to summary
public static String join(Collection<String> strings)
joinback to summary
public static String join(Collection<String> strings, String separator)