Package org.apache.storm.utils
Class EquivalenceUtils
java.lang.Object
org.apache.storm.utils.EquivalenceUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areLocalAssignmentsEquivalent
(LocalAssignment first, LocalAssignment second) Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.
-
Constructor Details
-
EquivalenceUtils
public EquivalenceUtils()
-
-
Method Details
-
areLocalAssignmentsEquivalent
Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.- Parameters:
first
- Local assignment Asecond
- Local assignment B- Returns:
- True if A and B are equivalent, ignoring the order of the executors
-