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);
Pas de solution correcte
Autres conseils
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
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow