Java equivalent of .NET's Version class?
-
27-05-2021 - |
Question
Is there a Java equivalent of .NET's System.Version class? How do I say this in Java?
Version myVersion = new Version(2, 1);
No correct solution
OTHER TIPS
Here's a class from OSGi: http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html
And the corresponding source: http://www.docjar.com/html/api/org/osgi/framework/Version.java.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow