public final class Equivalences extends Object
Equivalences
Guava's Equivalence.equals() and Equivalence.identity()
are not parameterized: this just makes them so.
| Modifier and Type | Method and Description |
|---|---|
static <T> Equivalence<T> |
equals()
Return a parameterized
Equivalence.equals() |
static <T> Equivalence<T> |
identity()
Return a parameterized
Equivalence.identity() |
public static <T> Equivalence<T> equals()
Equivalence.equals()T - the parameter typepublic static <T> Equivalence<T> identity()
Equivalence.identity()T - the parameter type