Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.util
Class CollectionUtils

    java.lang.Object
      com.atlassian.bamboo.util.CollectionUtils

    public class CollectionUtils

extends Object

Constructor Summary
`CollectionUtils()`

Method Summary
`static List` | `removeDuplicates(List input)`
`static List` | `removeDuplicatesAndSort(List input, Comparator c)`
`static List` | `stringArrayToList(String[] s)`
`static Collection` | `stringToCollection(String s)` Converts a string with a given pattern into a Collection of strings.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CollectionUtils

    public CollectionUtils()

Method Detail

### stringToCollection

    public static Collection stringToCollection(String s)

  Converts a string with a given pattern into a Collection of strings.

  Parameters:
    `s` -
  Returns:
    list of strings

### stringArrayToList

    public static List stringArrayToList(String[] s)

### removeDuplicates

    public static List removeDuplicates(List input)

### removeDuplicatesAndSort

    public static List removeDuplicatesAndSort(List input,
                                               Comparator c)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.