Quantcast
Channel: A Java geek » Java
Viewing all articles
Browse latest Browse all 64

Extrinsic vs intrinsic equality

$
0
0
Note: the following article is purely theoretical. I don’t know if it fits a real-life use-case, but the point is just too good to miss Java’s List sorting has two flavors: one follows the natural ordering of collection objects, the other requires an external comparator. In the first case, Java assumes objects are naturally ordered. [...]

Viewing all articles
Browse latest Browse all 64

Trending Articles