code: private int hamming(Long s1, Long s2) {
  		final int bitNum = this.bitNum;
  		int dis = 0;
  		for (int i = 0; i < bitNum; i++) {
  			if ((s1 >> i & 1) != (s2 >> i & 1))
  				dis++;
  		}
  		return dis;
  	}
docs: 计算汉明距离
  
  @param s1 值1
  @param s2 值2
  @return 汉明距离