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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
    • Method Detail

      • 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 entity
        added - the value to add/remove
        Returns: