Class StrictValueMatcher
- java.lang.Object
-
- org.openrefine.wikibase.schema.strategies.StrictValueMatcher
-
- All Implemented Interfaces:
ValueMatcher
public class StrictValueMatcher extends Object implements ValueMatcher
Simple value matching strategy which only treats value as identical when they are strictly equal.- Author:
- Antonin Delpeuch
-
-
Constructor Summary
Constructors Constructor Description StrictValueMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
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.String
toString()
-
-
-
Method Detail
-
match
public boolean match(org.wikidata.wdtk.datamodel.interfaces.Value existing, org.wikidata.wdtk.datamodel.interfaces.Value added)
Description copied from interface:ValueMatcher
Compare two values and return true if they should be treated as identical.- Specified by:
match
in interfaceValueMatcher
- Parameters:
existing
- the existing value on the entityadded
- the value to add/remove- Returns:
-
-