public final class SchemaTreeEquivalence extends Equivalence<SchemaTree>
This is used by ValidationChain
to cache results of the JSON
Reference resolution -> syntax validation chain.
Two schema trees are considered equivant if their loading URI, current URI context, base node and pointers are equivalent.
Equivalence.Wrapper<T>
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEquivalent(SchemaTree a,
SchemaTree b) |
protected int |
doHash(SchemaTree t) |
static Equivalence<SchemaTree> |
getInstance() |
equals, equivalent, equivalentTo, hash, identity, onResultOf, pairwise, wrap
public static Equivalence<SchemaTree> getInstance()
protected boolean doEquivalent(SchemaTree a, SchemaTree b)
doEquivalent
in class Equivalence<SchemaTree>
protected int doHash(SchemaTree t)
doHash
in class Equivalence<SchemaTree>
Copyright © 2013. All Rights Reserved.