title: How to define a hashcode for class having 3 byte[]?
body: <p>How should I define a <code>hashCode</code> for a class having <code>3 byte[]</code>?</p>
  
  <pre><code>public class Key implements Comparable&lt;Key&gt; {
      private static final long serialVersionUID = 1L;
      private byte[] subKey1;
      private byte[] subKey2;
      private byte[] subKey3;
  
      public int hashCode() {  
      }
  
  }
  </code></pre>