public final class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
isNullOrEmpty(Collection<T> collection) |
static String |
join(Collection<String> toJoin,
String separator)
Joins a collection of strings with the given separator into a single string.
|
public static <T> boolean isNullOrEmpty(Collection<T> collection)
public static String join(Collection<String> toJoin, String separator)
toJoin
- Collection containing items to join.separator
- String to join items with.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.