Home
last modified time | relevance | path

Searched refs:resultEquivalence (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DFunctionalEquivalence.java42 private final Equivalence<T> resultEquivalence; field in FunctionalEquivalence
45 Function<F, ? extends T> function, Equivalence<T> resultEquivalence) { in FunctionalEquivalence() argument
47 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()