Kovalevskyi-Academy / Zeus

Other
2 stars 4 forks source link

Bring the compareTo method into line with the documentation. #132

Closed seralekseenko closed 3 years ago

seralekseenko commented 3 years ago

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html

no more "-1, 0, 1"! Now is "<0, =0, >0"!