Created
January 27, 2014 17:07
-
-
Save adnansorg/8652754 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
if (cmp < 0) { | |
t = t.left; | |
} else if (cmp > 0) { | |
t = t.right; | |
} else { | |
return t.setValue(value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment