title: Can I overwrite get function of map in scala
body: <p>I use map like this.</p>
  
  <pre><code>var mapList :Map[Array[String], Long] = new Map()
  </code></pre>
  
  <p>but, when I use <code>mapList.get( mapKey )</code>, It doesn't return matched value. even if the Array[String] has same elements and same sequence.</p>
  
  <p>I think map saves reference and not data. So if reference(or pointer) is not same, it says it is not same. but I want to compare elements of Array not reference.</p>
  
  <p>Is there a way I can do?</p>