title: Check if value exists in a multidimensional array java
body: <p>Without a <code>for loop</code>, is there any way to see if a value exists in a <code>multidimensional array</code>? I found</p>
  
  <pre><code> Arrays.asList(*ArrayName*).contains(*itemToFind*)
  </code></pre>
  
  <p>but that will only search the first dimension of the array, and I need to search 2 dimensions.</p>