code: public static ArrayList<String> toList( Set<String> set )
  	{
  		int n = set.size();
  		ArrayList<String> list = new ArrayList<String>( n );
  		for (String string : set)
  		{
  			list.add(string);
  		}
  		return list;
  	}
docs: Creates a new <tt>ArrayList</tt> collection from the specified <tt>Set</tt> of <tt>String</tt>s.
  
  @param set   a set of <tt>String</tt>s.
  @return newly created .