public int hashCode() {
   int a = one == null ? 0 : one.hashCode();
   int b = two == null ? 0 : two.hashCode();
   return a ^ (b * b);
 }
 @Override
 public int hashCode() {
   return tuple.hashCode();
 }
示例#3
0
 @Override
 public int hashCode() {
   return (one != null ? one.hashCode() : 0) + (two != null ? two.hashCode() : 0);
 }
 public HashableSoftReference(U referent, ReferenceQueue<? super U> queue) {
   super(referent, queue);
   this.hashCode = referent.hashCode();
 }
 @Override
 public int hashCode() {
   return referent.hashCode();
 }
示例#6
0
 @Override
 public int hashCode() {
   int result = first != null ? first.hashCode() : 0;
   result = 31 * result + (second != null ? second.hashCode() : 0);
   return result;
 }
示例#7
0
 @Override
 public int hashCode() {
   int result = _1 != null ? _1.hashCode() : 0;
   result = 31 * result + (_2 != null ? _2.hashCode() : 0);
   return result;
 }