Class AbstractObjectMatcher<T,U extends IComparedObjects<T>>
- java.lang.Object
-
- com._1c.g5.v8.dt.compare.matching.AbstractIdBasedObjectMatcher<T,U>
-
- com._1c.g5.v8.dt.compare.matching.AbstractObjectMatcher<T,U>
-
- Type Parameters:
T
- the type of objects to be matchedU
- the type of compared object provider supporting identification
- All Implemented Interfaces:
IObjectMatcher<T,U>
- Direct Known Subclasses:
AbstractEmfObjectMatcher
public abstract class AbstractObjectMatcher<T,U extends IComparedObjects<T>> extends AbstractIdBasedObjectMatcher<T,U>
TheAbstractIdBasedObjectMatcher
extension; the object identifiers must be unique.
-
-
Constructor Summary
Constructors Constructor Description AbstractObjectMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<U>
match(List<T> mainObjects, List<T> otherObjects, List<T> ancestorObjects)
Returns a collection of matched objects for the specified collections of objects.-
Methods inherited from class com._1c.g5.v8.dt.compare.matching.AbstractIdBasedObjectMatcher
createComparedObjectsInstance, getId
-
-
-
-
Method Detail
-
match
public Collection<U> match(List<T> mainObjects, List<T> otherObjects, List<T> ancestorObjects)
Description copied from interface:IObjectMatcher
Returns a collection of matched objects for the specified collections of objects.- Parameters:
mainObjects
- the collection of objects to be matched from the main sideotherObjects
- the collection of objects to be matched from the other sideancestorObjects
- the collection of objects to be matched from the common ancestor side- Returns:
- a collection of matched compared objects with ids
-
-