com.virtuosotechnologies.lib.util
Class CollectionUtils

java.lang.Object
  extended bycom.virtuosotechnologies.lib.util.CollectionUtils

public final class CollectionUtils
extends Object

Various utilities for Java collections.


Method Summary
static ArrayList createArrayList(Object[] array)
          Create an ArrayList from an array of objects
static HashSet createHashSet(Object[] array)
          Create a HashSet from an array of objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createHashSet

public static HashSet createHashSet(Object[] array)
Create a HashSet from an array of objects

Parameters:
array - array of objects
Returns:
the HashSet

createArrayList

public static ArrayList createArrayList(Object[] array)
Create an ArrayList from an array of objects

Parameters:
array - array of objects
Returns:
the HashSet