Searched refs:resultEquivalence (Results 1 – 1 of 1) sorted by relevance
42 private final Equivalence<T> resultEquivalence; field in FunctionalEquivalence45 Function<F, ? extends T> function, Equivalence<T> resultEquivalence) { in FunctionalEquivalence() argument47 this.resultEquivalence = checkNotNull(resultEquivalence); in FunctionalEquivalence()51 return resultEquivalence.equivalent(function.apply(a), function.apply(b)); in doEquivalent()55 return resultEquivalence.hash(function.apply(a)); in doHash()65 && resultEquivalence.equals(that.resultEquivalence); in equals()71 return Objects.hashCode(function, resultEquivalence); in hashCode()75 return resultEquivalence + ".onResultOf(" + function + ")"; in toString()