Package com._1c.g5.v8.dt.compare.order
Class MatchedEmfObjectOrderer<T extends MatchedEmfObjects>
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.order.AbstractMatchedObjectOrderer<T>
- 
- com._1c.g5.v8.dt.compare.order.MatchedEmfObjectOrderer<T>
 
 
- 
 public class MatchedEmfObjectOrderer<T extends MatchedEmfObjects> extends AbstractMatchedObjectOrderer<T> Orderer of matched EMF objects.
- 
- 
Constructor SummaryConstructors Constructor Description MatchedEmfObjectOrderer(Collection<T> matchedObjects, boolean isThreeWay)Creates a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder(T object, ComparisonSide side)Returns the original order index of the source object on the specified side.booleanisPresent(T object, ComparisonSide side)Checks whether a source object is present on the specified side of the matched object.- 
Methods inherited from class com._1c.g5.v8.dt.compare.order.AbstractMatchedObjectOrderergetMatchedObjects, getOrdered, getWithChangedOrder
 
- 
 
- 
- 
- 
Constructor Detail- 
MatchedEmfObjectOrdererpublic MatchedEmfObjectOrderer(Collection<T> matchedObjects, boolean isThreeWay) Creates a new instance.- Parameters:
- matchedObjects- the matched objects, cannot be- null
- isThreeWay- tells whether the comparison session is three-way
 
 
- 
 - 
Method Detail- 
isPresentpublic boolean isPresent(T object, ComparisonSide side) Description copied from class:AbstractMatchedObjectOrdererChecks whether a source object is present on the specified side of the matched object.- Specified by:
- isPresentin class- AbstractMatchedObjectOrderer<T extends MatchedEmfObjects>
- Parameters:
- object- the matched object
- side- the source side to check
- Returns:
- truewhen the source object is present
 
 - 
getOrderpublic int getOrder(T object, ComparisonSide side) Description copied from class:AbstractMatchedObjectOrdererReturns the original order index of the source object on the specified side.- Specified by:
- getOrderin class- AbstractMatchedObjectOrderer<T extends MatchedEmfObjects>
- Parameters:
- object- the matched object
- side- the side of the source object
- Returns:
- order index of the source object (irrelevant if the object is not present)
 
 
- 
 
-