| |
|
| java.lang.Object org.dbunit.util.CollectionsHelper
CollectionsHelper | public class CollectionsHelper (Code) | | Helper for collections-related methods.
author: Felipe Leme version: $Revision: 554 $ since: Nov 5, 2005 |
objectsToSet | public static Set objectsToSet(Object[] objects)(Code) | | Returns a Set from an array of objects.
Note the Iterator returned by this Set mantains the order of the array.
Parameters: objects - array of objects Set with the elements of the array or null if entry is null |
setToObjects | public static Object[] setToObjects(Set set)(Code) | | Returns an array of Objects from a Set.
Parameters: a - Set array of Objects with the elements of the Set or null if set is null |
setToStrings | public static String[] setToStrings(Set set)(Code) | | Returns an array of Strings from a Set.
Parameters: a - Set of Strings array of Strings with the elements of the Set or null if set is null |
|
|
|