How can I see if an array in Java contains all the elements of another array?
Write a boolean function that takes two unordered char arrays as
parameters. The size of the first array is guaranteed to be less than or
equal to the size of the second array. The function returns true if
every element in the first array is contained in the second.

Results:

    Array One           Array Two           Return
    "a"                 "a"                 True
    "aa"                "ab"                False
    "cbb"               "abbc"              True
    "abbccdd"           "abbcccdd"          True

*EDIT* Here's my attempt so far:

	public static Boolean cmprStr( String s1, String s2 )
	{
		for(int i = 0; i < s1.length(); i++ )
		{
			if( !s2.contains( String.valueOf( s1.charAt(i) ) ) )
			{
				return false;
			}
		}
		return true;
	}
How can I see if an array in Java contains all the elements of another array?
===

Write a boolean function that takes two unordered char arrays as
parameters. The size of the first array is guaranteed to be less than or
equal to the size of the second array. The function returns true if
every element in the first array is contained in the second.

Results:

    Array One           Array Two           Return
    "a"                 "a"                 True
    "aa"                "ab"                False
    "cbb"               "abbc"              True
    "abbccdd"           "abbcccdd"          True

*EDIT* Here's my attempt so far:

	public static Boolean cmprStr( String s1, String s2 )
	{
		for(int i = 0; i < s1.length(); i++ )
		{
			if( !s2.contains( String.valueOf( s1.charAt(i) ) ) )
			{
				return false;
			}
		}
		return true;
	}