Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/base/
DEquivalence.java41 public abstract class Equivalence<T> { class
45 protected Equivalence() {} in Equivalence() method in Equivalence
140 public final <F> Equivalence<F> onResultOf(Function<F, ? extends T> function) { in onResultOf()
177 private final Equivalence<? super T> equivalence;
180 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper()
206 Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence; in equals()
244 public final <S extends T> Equivalence<Iterable<S>> pairwise() { in pairwise()
262 private final Equivalence<T> equivalence;
265 EquivalentToPredicate(Equivalence<T> equivalence, @Nullable T target) { in EquivalentToPredicate()
DEquivalences.java48 public static Equivalence<Object> equals() { in equals()
57 public static Equivalence<Object> identity() { in identity()
61 private static final class Equals extends Equivalence<Object>
79 private static final class Identity extends Equivalence<Object>
DFunctionalEquivalence.java36 final class FunctionalEquivalence<F, T> extends Equivalence<F>
42 private final Equivalence<T> resultEquivalence;
45 Function<F, ? extends T> function, Equivalence<T> resultEquivalence) { in FunctionalEquivalence()
DPairwiseEquivalence.java27 final class PairwiseEquivalence<T> extends Equivalence<Iterable<T>>
30 final Equivalence<? super T> elementEquivalence;
32 PairwiseEquivalence(Equivalence<? super T> elementEquivalence) { in PairwiseEquivalence()
/external/guava/guava-testlib/src/com/google/common/testing/
DEquivalenceTester.java25 import com.google.common.base.Equivalence;
64 private final Equivalence<? super T> equivalence;
68 EquivalenceTester(final Equivalence<? super T> equivalence) { in EquivalenceTester()
86 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { in of()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java28 import com.google.common.base.Equivalence;
216 Equivalence<Object> keyEquivalence;
217 Equivalence<Object> valueEquivalence;
249 CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence()
255 Equivalence<Object> getKeyEquivalence() { in getKeyEquivalence()
266 CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) { in valueEquivalence()
273 Equivalence<Object> getValueEquivalence() { in getValueEquivalence()
DLocalCache.java27 import com.google.common.base.Equivalence;
176 final Equivalence<Object> keyEquivalence;
179 final Equivalence<Object> valueEquivalence;
383 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
399 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
415 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
431 abstract Equivalence<Object> defaultEquivalence(); in defaultEquivalence()
4589 final Equivalence<Object> keyEquivalence;
4590 final Equivalence<Object> valueEquivalence;
4620 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence,
/external/guava/guava-gwt/src/com/google/common/base/
DPairwiseEquivalence_CustomFieldSerializer.java37 return create((Equivalence<?>) reader.readObject()); in instantiate()
40 private static <T> PairwiseEquivalence<T> create(Equivalence<T> elementEquivalence) { in create()
/external/guava/guava/src/com/google/common/collect/
DGenericMapMaker.java22 import com.google.common.base.Equivalence;
62 abstract GenericMapMaker<K0, V0> keyEquivalence(Equivalence<Object> equivalence); in keyEquivalence()
68 abstract GenericMapMaker<K0, V0> valueEquivalence(Equivalence<Object> equivalence); in valueEquivalence()
DMapMaker.java25 import com.google.common.base.Equivalence;
136 Equivalence<Object> keyEquivalence;
137 Equivalence<Object> valueEquivalence;
160 MapMaker keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence()
167 Equivalence<Object> getKeyEquivalence() { in getKeyEquivalence()
180 MapMaker valueEquivalence(Equivalence<Object> equivalence) { in valueEquivalence()
188 Equivalence<Object> getValueEquivalence() { in getValueEquivalence()
DComputingConcurrentHashMap.java20 import com.google.common.base.Equivalence;
389 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence, in ComputingSerializationProxy()
DMapMakerInternalMap.java21 import com.google.common.base.Equivalence;
157 final Equivalence<Object> keyEquivalence;
160 final Equivalence<Object> valueEquivalence;
304 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
317 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
330 Equivalence<Object> defaultEquivalence() { in defaultEquivalence()
346 abstract Equivalence<Object> defaultEquivalence(); in defaultEquivalence()
3953 final Equivalence<Object> keyEquivalence;
3954 final Equivalence<Object> valueEquivalence;
3964 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence,
[all …]
DMaps.java25 import com.google.common.base.Equivalence;
352 Equivalence<? super V> valueEquivalence) { in difference()
/external/guava/guava-tests/test/com/google/common/testing/
DEquivalenceTesterTest.java22 import com.google.common.base.Equivalence;
205 private static final class MockEquivalence extends Equivalence<Object> {
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java61 private static final Equivalence<String> LENGTH_EQUIVALENCE = Equivalences.equals()
/external/chromium_org/media/base/
Daudio_hash_unittest.cc52 TEST_F(AudioHashTest, Equivalence) { in TEST_F() argument
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java26 import com.google.common.base.Equivalence;
107 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetKeyEquivalence()
126 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetValueEquivalence()
DMapsTest.java25 import com.google.common.base.Equivalence;
318 tester.setDefault(Equivalence.class, Equivalences.equals()); in testNullPointerExceptions()
425 Equivalence<String> caseInsensitiveEquivalence = Equivalences.equals().onResultOf( in testMapDifferencePredicateTypical()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java35 import com.google.common.base.Equivalence;
154 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetKeyEquivalence()
173 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetValueEquivalence()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMaps.java24 import com.google.common.base.Equivalence;
349 Equivalence<? super V> valueEquivalence) { in difference()