public int hashCode(){
  if (A.nextSetBit(0) < B.nextSetBit(0))   return A.hashCode() + 37 * B.hashCode();
 else   return B.hashCode() + 37 * A.hashCode();
}

public int hashCode ( ) { if ( A . nextSetBit ( 0 ) < B . nextSetBit ( 0 ) ) return A . hashCode ( ) + 37 * B . hashCode ( ) ; else return B . hashCode ( ) + 37 * A . hashCode ( ) ; }
gets the hash code
