public final class SchemaContextEquivalence extends Equivalence<SchemaContext>
This is used by ValidationChain
and ValidationProcessor
to
cache computation results. Two schema contexts are considered equivalent if:
Equivalence.Wrapper<T>
Constructor and Description |
---|
SchemaContextEquivalence() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEquivalent(SchemaContext a,
SchemaContext b) |
protected int |
doHash(SchemaContext t) |
static Equivalence<SchemaContext> |
getInstance() |
equals, equivalent, equivalentTo, hash, identity, onResultOf, pairwise, wrap
public static Equivalence<SchemaContext> getInstance()
protected boolean doEquivalent(SchemaContext a, SchemaContext b)
doEquivalent
in class Equivalence<SchemaContext>
protected int doHash(SchemaContext t)
doHash
in class Equivalence<SchemaContext>