Class StrictValueMatcher
java.lang.Object
org.openrefine.wikidata.schema.strategies.StrictValueMatcher
- All Implemented Interfaces:
ValueMatcher
Simple value matching strategy which only treats value as identical
when they are strictly equal.
- Author:
- Antonin Delpeuch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StrictValueMatcher
public StrictValueMatcher()
-
-
Method Details
-
match
public boolean match(org.wikidata.wdtk.datamodel.interfaces.Value existing, org.wikidata.wdtk.datamodel.interfaces.Value added) Description copied from interface:ValueMatcherCompare two values and return true if they should be treated as identical.- Specified by:
matchin interfaceValueMatcher- Parameters:
existing- the existing value on the entityadded- the value to add/remove- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-