Join Slack
Powered by
BTW, someone was concerned that `compareTo` should...
# stdlib
v
voddan
03/09/2016, 3:28 PM
BTW, someone was concerned that
compareTo
should not throw:
e.compareTo(null) should throw a NullPointerException
from the docs:
https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html
2
Views
Open in Slack
Previous
Next