Skip to main content

Timeline for Comparable Interface not sorting

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Mar 29, 2017 at 21:39 comment added Matthew McKinley Can you put in your whole code base including where you invoke the sort?
Mar 29, 2017 at 18:49 comment added realtek Hi, I have tried adding this but it doesn't seem to make any difference? thanks
Mar 29, 2017 at 16:50 comment added Matthew McKinley Good point, but thats an anti-pattern and the above will fix the problem posed.
Mar 29, 2017 at 16:47 comment added Eric Not necessarily an issue as the properties could be set directly in calling code. A constructor with parameters is not required to populate the properties
Mar 29, 2017 at 16:43 history answered Matthew McKinley CC BY-SA 3.0