4 ms·
There's a lot that could be said about this code, but the worst is that it has an incorrectly implemented swap when one exists in the standard collections libra
by dastbe 12y ago
There's a lot that could be said about this code, but the worst is that it has an incorrectly implemented swap when one exists in the standard collections library. I don't understand why you would show off a feature (which admittedly has an some poor interactions with other aspects of the language) while simultaneously neglecting the standard library and all the language improvements that happened between 1 and 8.
Java doesn't need anymore disservices.