title: Java ArrayList of Arrays, contains doesn't work
body: <p>I have an array list:</p>
  
  <pre><code>List&lt;MyObj[]&gt; list = new ArrayList&lt;MyObj[]&gt;();
  </code></pre>
  
  <p>I put arrays in it:</p>
  
  <pre><code>MyObj[] test = new MyObj[2];
  test[0] = new MyObj();
  test[1] = new MyObj();
  list.add(test);
  </code></pre>
  
  <p>I check to see if test is contained in list:</p>
  
  <pre><code>if(list.contains(test)){
      System.out.println("You are smart");
  }else{
      System.out.println("I are not smart");
  }
  
  &gt;I are not smart
  </code></pre>
  
  <p>What am I doing wrong here?</p>