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

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EquivalenceUtils

    public EquivalenceUtils()

- ## Method Details

  - ### 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 A
      `second` - Local assignment B
    Returns:
      True if A and B are equivalent, ignoring the order of the executors