Join Slack
Powered by
Is there a prettier way to do `a.compareTo(b) == 0...
# getting-started
k
Karolis
07/18/2019, 3:14 PM
Is there a prettier way to do
a.compareTo(b) == 0
where
a
and
b
are `Comperable`s? I know
<
and
>
uses compareTo, but can I do so with
==
?
Open in Slack
Previous
Next