Last week, the impetuous President and the thoughtful Supreme Court nominee seemed very different, but they share an agenda for the country.