Package ghidra.app.merge.util

# Class MergeUtilities

java.lang.Object
ghidra.app.merge.util.MergeUtilities

public class MergeUtilities extends Object
`MergeUtilities` provides generic static methods for use by the multi-user program merge managers.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MergeUtilities()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `adjustSets(AddressSetView latestDiffs, AddressSetView myDiffs, AddressSet autoChanges, AddressSet conflictChanges)`
  Adds addresses to autoChanges where there are changes in the myDiffs set, but none in the latestDiffs set.

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

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

- ## Constructor Details

  - ### MergeUtilities

    public MergeUtilities()

- ## Method Details

  - ### adjustSets

    public static void adjustSets(AddressSetView latestDiffs, AddressSetView myDiffs, AddressSet autoChanges, AddressSet conflictChanges)
    Adds addresses to autoChanges where there are changes in the myDiffs set, but none in the latestDiffs set. Adds addresses to conflictChanges where there are changes in the myDiffs set and also some changes in the latestDiffs set.
    Parameters:
      `latestDiffs` - the address set of the changes in LATEST.
      `myDiffs` - the address set of the changes in MY.
      `autoChanges` - address set for the myDiffs non-conflicting changes.
      `conflictChanges` - address set for the myDiffs conflicting changes