private void removeEquate(EquateDB equateDB) throws IOException {
		lock.acquire();
		try {
			String name = equateDB.getName();
			long equateID = equateDB.getKey();
			equateAdapter.removeRecord(equateID);
			equateCache.delete(equateID);
			// fire event: oldValue = equate name, newValue=null
			program.setChanged(ProgramEvent.EQUATE_REMOVED, name, null);
		}
		finally {
			lock.release();
		}
	}
Constructor
@param handle database handle
@param addrMap map that converts addresses to longs and longs to addresses
@param openMode one of ProgramDB.CREATE, UPDATE, UPGRADE, or READ_ONLY
@param lock the program synchronization lock
@param monitor the progress monitor used when upgrading.
@throws VersionException if the database version doesn't match the current version.
@throws IOException if a database error occurs.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/EquateManager.java