code: public static ArrayList<String> toList( String[] array )
  	{
  		if( array == null )
  		{
  			return new ArrayList<String>( 0 );
  		}
  		ArrayList<String> list = new ArrayList<String>( array.length );
  		for (String s : array)
  		{
  			list.add( s );
  		}
  		return list;
  	}
docs: Creates a new <tt>ArrayList</tt> collection from the specified array of <tt>String</tt>s.
  
  @param array the array
  @return  newly created .