Melchizedek (Genesis 14) is a cool king of Salem (Jerusalem) who blesses Abraham. His name, in Hebrew, means either “king of righteousness” or “righteousness is my king”.
Adoni-zedek (Joshua 10), is also the king of Jerusalem, who summons an army of other kings to fight Israel. His name, in Hebrew, means “lord of righteousness” or “righteousness is my lord”…
Bit of a contrast there…