groovy

== operator uses compareTo instead of equals to calculate its result for Comparable classes