how to cmpare the values of Arraylists
<p>how can we compare the values of two array lists for example :</p>

<pre><code>    ArrayList a = new ArrayList&lt;String&gt;();
    a.add("1");
    a.add("2");
    a.add("3");

    ArrayList b = new ArrayList&lt;String&gt;();
    b.add("3");
    b.add("2");
    b.add("1");
    System.out.println(areEqual(a, b));
</code></pre>

<p>should print true , because all values of a are in b.</p>

<p>Thanks in advance </p>
