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 matched
U - 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>
The AbstractIdBasedObjectMatcher extension; the object identifiers must be unique.
  • Constructor Details

    • AbstractObjectMatcher

      public AbstractObjectMatcher()
  • Method Details

    • 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 side
      otherObjects - the collection of objects to be matched from the other side
      ancestorObjects - the collection of objects to be matched from the common ancestor side
      Returns:
      a collection of matched compared objects with ids