| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Equivalence |
Equivalence.equals()
Returns an equivalence that delegates to
Object and
Object.
|
static Equivalence |
Equivalence.identity()
Returns an equivalence that uses
== to compare values and
System to compute the hash code.
|
<F> Equivalence |
Equivalence.onResultOf(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 |
Equivalence.pairwise()
Returns an equivalence over iterables based on the equivalence of their elements.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
Maps.difference(Map
Computes the difference between two maps.
|