Sorting Your Own Types
Teaching Java an order, for one natural ordering and for many.
Sorting numbers is free and sorting your own class is a decision: one natural order that travels with the type, or several orders that belong to the caller. The topic also covers the two ways a comparator silently lies, both of which fail a long way from the cause.
Contents
9 cardsnot started