Exemplo n.º 1
0
 @Override
 public int hashCode() {
   int result = 1;
   for (int i = start; i < end; i++) {
     result = 31 * result + Booleans.hashCode(array[i]);
   }
   return result;
 }
    public int hashCode()
    {
        int j = 1;
        for (int i = start; i < end; i++)
        {
            j = j * 31 + Booleans.hashCode(array[i]);
        }

        return j;
    }