Class SameShortId
java.lang.Object
ca.mcscert.jpipe.operators.equivalences.SameShortId
- All Implemented Interfaces:
EquivalenceRelation
Two elements are equivalent iff their ids are identical after stripping any
namespace prefix (the last colon-separated segment). For example,
"a:s" and "b:s" both have short id "s" and are
therefore equivalent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueifaandbshould be merged into the same result element.
-
Constructor Details
-
SameShortId
public SameShortId()
-
-
Method Details
-
areEquivalent
Description copied from interface:EquivalenceRelationReturnstrueifaandbshould be merged into the same result element.- Specified by:
areEquivalentin interfaceEquivalenceRelation
-