|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.fge.jsonschema.core.util.equivalence.Equivalences
public final class Equivalences
Small wrapper class over Guava's builtin Equivalences
Guava's Equivalence.equals() and Equivalence.identity()
are not parameterized: this just makes them so.
| Method Summary | ||
|---|---|---|
static
|
equals()
Return a parameterized Equivalence.equals() |
|
static
|
identity()
Return a parameterized Equivalence.identity() |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> Equivalence<T> equals()
Equivalence.equals()
T - the parameter type
public static <T> Equivalence<T> identity()
Equivalence.identity()
T - the parameter type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||