The Lakers and Nets each benefited from Sunday's deal.