Package org.apache.storm.utils
Class EquivalenceUtils
- java.lang.Object
-
- org.apache.storm.utils.EquivalenceUtils
-
public class EquivalenceUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description EquivalenceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areLocalAssignmentsEquivalent(LocalAssignment first, LocalAssignment second)
Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.
-
-
-
Method Detail
-
areLocalAssignmentsEquivalent
public static boolean areLocalAssignmentsEquivalent(LocalAssignment first, LocalAssignment second)
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
-
-