Beispiel #1
0
 /** Returns the result of {@link Equivalence#hash(Object)} applied to the wrapped reference. */
 @Override
 public int hashCode() {
   return equivalence.hash(reference);
 }
 @Override
 protected int doHash(F a) {
   return resultEquivalence.hash(function.apply(a));
 }