Example #1
0
 @Override
 public int myHashCode() {
   int hashCode = HashCodeUtil.SEED;
   hashCode = HashCodeUtil.hash(hashCode, base);
   hashCode = HashCodeUtil.hash(hashCode, exponent);
   return hashCode;
 }
Example #2
0
 @Override
 public int myHashCode() {
   int hashCode = HashCodeUtil.SEED;
   hashCode = HashCodeUtil.hash(hashCode, operands);
   return hashCode;
 }