--

Yup, I generally say imagine CustomerId, PageId are Java objects that support hashCode() and equals(), so that takes care of sorting and using them in maps.

--

--

Carlos Arguelles
Carlos Arguelles

Written by Carlos Arguelles

Hi! I'm a Senior Principal Engineer (L8) at Amazon. In the last 26 years, I've worked at Google and Microsoft as well.

Responses (1)