Class AbstractMultiObjectMatcher<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.AbstractMultiObjectMatcher<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:
AbstractMultiEmfObjectMatcher

public abstract class AbstractMultiObjectMatcher<T,U extends IComparedObjects<T>> extends AbstractIdBasedObjectMatcher<T,U>
The AbstractIdBasedObjectMatcher extension; the object identifiers may not be unique.
  • Constructor Details

    • AbstractMultiObjectMatcher

      public AbstractMultiObjectMatcher()
  • 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