T - the record typepublic class NaiveFuzzyValueMatcher<T> extends Object implements FuzzyValueMatcher<T>
| Constructor and Description |
|---|
NaiveFuzzyValueMatcher(TypeDistance<T> typeDistance)
Initializes NaiveFuzzyValueMatcher.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDistance<T> |
getTypeDistance()
Returns the typeDistance.
|
void |
removeMatchingValues(TypeConfig<T> typeConfig,
Collection<T> expectedValues,
Collection<T> actualValues)
Removes all pairs of matching items from the two collections.
|
public NaiveFuzzyValueMatcher(TypeDistance<T> typeDistance)
typeDistance - public TypeDistance<T> getTypeDistance()
public void removeMatchingValues(TypeConfig<T> typeConfig, Collection<T> expectedValues, Collection<T> actualValues)
FuzzyValueMatcherremoveMatchingValues in interface FuzzyValueMatcher<T>expectedValues - a bag of expected valuesactualValues - a bag of actual valuesCopyright © 2014. All rights reserved.