serf.data
Interface AtomicMatch

All Known Implementing Classes:
EqualityMatcher, PriceMatcher, TitleMatcher

public interface AtomicMatch

AtomicMatch is defines an interface for comparing attribute values.


Method Summary
 boolean valuesMatch(java.lang.String s1, java.lang.String s2)
          Determine whether or not two attribute values match.
 

Method Detail

valuesMatch

boolean valuesMatch(java.lang.String s1,
                    java.lang.String s2)
Determine whether or not two attribute values match. Implementing classes are free to use any criteria to test for a match.

Parameters:
s1 - parameter 1
s2 - parameter 2
Returns:
true if the parameters match.