Class VersionNumber

java.lang.Object
se.datadosen.util.VersionNumber

public class VersionNumber
extends java.lang.Object
Manage version number comparisons properly. Format being xx.yy.zz Capable of understanding alpha and beta versions. I.e xx.a is smaller than xx
Since:
8.7
  • Constructor Summary

    Constructors 
    Constructor Description
    VersionNumber​(java.lang.String version)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(VersionNumber other)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VersionNumber

      public VersionNumber​(java.lang.String version)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • compareTo

      public int compareTo​(VersionNumber other)