Uses of Class
com.google.common.base.Equivalence

Packages that use Equivalence
com.google.common.base Basic utility libraries and interfaces. 
com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. 
 

Uses of Equivalence in com.google.common.base
 

Methods in com.google.common.base that return Equivalence
static Equivalence<Object> Equivalences.equals()
          Returns an equivalence that delegates to Object.equals(java.lang.Object) and Object.hashCode().
static Equivalence<Object> Equivalences.identity()
          Returns an equivalence that uses == to compare values and System.identityHashCode(Object) to compute the hash code.
<F> Equivalence<F>
Equivalence.onResultOf(Function<F,? extends T> function)
          Returns a new equivalence relation for F which evaluates equivalence by first applying function to the argument, then evaluating using this.
<S extends T>
Equivalence<Iterable<S>>
Equivalence.pairwise()
          Returns an equivalence over iterables based on the equivalence of their elements.
static
<T> Equivalence<Iterable<T>>
Equivalences.pairwise(Equivalence<? super T> elementEquivalence)
          Deprecated. use pairwise(), which behaves exactly the same. This method is scheduled for deletion from Guava in Guava release 11.0.
 

Methods in com.google.common.base with parameters of type Equivalence
static
<T> Equivalence<Iterable<T>>
Equivalences.pairwise(Equivalence<? super T> elementEquivalence)
          Deprecated. use pairwise(), which behaves exactly the same. This method is scheduled for deletion from Guava in Guava release 11.0.
 

Uses of Equivalence in com.google.common.collect
 

Methods in com.google.common.collect with parameters of type Equivalence
static
<K,V> MapDifference<K,V>
Maps.difference(Map<? extends K,? extends V> left, Map<? extends K,? extends V> right, Equivalence<? super V> valueEquivalence)
          Computes the difference between two maps.
 



Copyright © 2010-2011. All Rights Reserved.