Timeline for Implement Sleep Sort
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 29, 2021 at 18:21 | comment | added | Bbrk24 | @MilkyWay90 I'm pretty sure that shortcut works in Java 5 and 6, but not in Java 7 and later. I haven't tested it though. | |
| Mar 17, 2019 at 14:35 | comment | added | MilkyWay90 | would enum M work? | |
| Jan 12, 2018 at 12:32 | comment | added | Kevin Cruijssen | I know it's been 6.5 years, but you can golf some parts: public and final can be removed; class M{public static void main can be interface M{static void main (Java 8+); Long.parseLong(a) can be new Long(a) (resulting in 165 bytes) | |
| Dec 3, 2016 at 15:02 | comment | added | hyperneutrino♦ | I think you can save 2 bytes by replacing Long.parseLong with Long.valueOf. | |
| Oct 28, 2013 at 2:05 | comment | added | Daniel Lubarov | You could also declare throws Throwable and get rid of the catch clause. | |
| Oct 28, 2013 at 1:53 | comment | added | Daniel Lubarov | The class can be non-public, saving 7 chars. | |
| S Apr 29, 2012 at 11:26 | history | suggested | mmaag | CC BY-SA 3.0 | used anonymous class instead of M. Removed some spaces. |
| Apr 28, 2012 at 20:35 | review | Suggested edits | |||
| S Apr 29, 2012 at 11:26 | |||||
| Jun 18, 2011 at 19:09 | history | edited | trutheality | CC BY-SA 3.0 | deleted 10 characters in body |
| Jun 18, 2011 at 19:05 | history | rollback | trutheality | Rollback to Revision 1 | |
| Jun 18, 2011 at 19:00 | history | edited | trutheality | CC BY-SA 3.0 | deleted 21 characters in body |
| Jun 12, 2011 at 3:30 | history | answered | trutheality | CC BY-SA 3.0 |