public class JiraCollectionUtils extends Object
Constructor and Description |
---|
JiraCollectionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> Collection<T> |
convertIterableToCollection(Iterable<T> iterable)
Converts an iterable to a new collection if it isn't a collection already.
|
static String[] |
stringCollectionToStringArray(Collection<String> allValues)
|
public static String[] stringCollectionToStringArray(Collection<String> allValues)
allValues
- The collection to convertpublic static <T> Collection<T> convertIterableToCollection(Iterable<T> iterable)
T
- The type being iterated overiterable
- The iterable to be convertedT
Copyright © 2002-2015 Atlassian. All Rights Reserved.