Interface ValueMatcher
- All Known Implementing Classes:
LaxValueMatcher,StrictValueMatcher
public interface ValueMatcher
Determines if two statement values should be considered identical or not.
- Author:
- Antonin Delpeuch
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(org.wikidata.wdtk.datamodel.interfaces.Value existing, org.wikidata.wdtk.datamodel.interfaces.Value added) Compare two values and return true if they should be treated as identical.
-
Method Details
-
match
boolean match(org.wikidata.wdtk.datamodel.interfaces.Value existing, org.wikidata.wdtk.datamodel.interfaces.Value added) Compare two values and return true if they should be treated as identical.- Parameters:
existing- the existing value on the entityadded- the value to add/remove- Returns:
-