Created
April 22, 2018 10:55
-
-
Save tomasmalmsten/01fd26f29ee0f1671000e4819400539e to your computer and use it in GitHub Desktop.
Clean Code - Functions snippet two
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int compareTo(Object _other) throws ClassCastException, NullPointerException { | |
final ExampleClass otherExampleClass = (ExampleClass) _other; | |
return compareMeTo(otherExampleClass); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment