Package | Description |
---|---|
com.google.common.base |
Basic utility libraries and interfaces.
|
Modifier and Type | Method and Description |
---|---|
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. |
static <T> Equivalence<Iterable<T>> |
Equivalences.pairwise(Equivalence<? super T> elementEquivalence)
Returns an equivalence over iterables based on the equivalence of their elements.
|
Modifier and Type | Method and Description |
---|---|
static <T> Equivalence<Iterable<T>> |
Equivalences.pairwise(Equivalence<? super T> elementEquivalence)
Returns an equivalence over iterables based on the equivalence of their elements.
|
Copyright © 2010-2012. All Rights Reserved.