Closed kretzschi closed 10 years ago
For the greater Method, we use compareTo in java/lang/Interger. It returns 1 (a > b), 0 (a = b) or -1 (a < b). We have to think about how to handle the different possible results in bytecode.
Ich wuerds einfach in eine 0 wandeln
Used primitive types!
For the greater Method, we use compareTo in java/lang/Interger. It returns 1 (a > b), 0 (a = b) or -1 (a < b). We have to think about how to handle the different possible results in bytecode.