سؤال

I've tried to google the answer but I keep getting results relating to version compatibility and checking with Java itself.

What I'm looking for is a method or api in java that will take two dotted versions, a program version and a minimum version (1.2.1.3 and 2.1.3.4 for example ) and test if the program version meets or exceeds the minimum version.

I know this is easy enough to implement in a basic manner but I'm hoping for something which has already taken into account the cases that might not occur to me.

هل كانت مفيدة؟

المحلول

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top