rfc:comparable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:comparable [2015/02/19 21:30] – Update to version 7.0 against master. aharvey | rfc:comparable [2015/02/19 21:57] – Add a note about why compareTo() doesn't require an object of the same class. aharvey | ||
---|---|---|---|
Line 26: | Line 26: | ||
?> | ?> | ||
</ | </ | ||
+ | |||
+ | This interface intentionally allows variables of any type to be passed to compareTo(): | ||
===== Sample Code ===== | ===== Sample Code ===== |
rfc/comparable.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1