compareTo
Compare two versions to see which is newer.
Note: Comparing instances is not particularly efficient, so the result should be cached instead of comparing each time.
Compare two versions to see which is newer.
Note: Comparing instances is not particularly efficient, so the result should be cached instead of comparing each time.