Class ExactVersion

    • Constructor Summary

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Validated build​(java.lang.String pattern)  
      int compare​(java.lang.String o1, java.lang.String o2)  
      boolean isValid​(java.lang.String version)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • ExactVersion

        public ExactVersion​(java.lang.String version)
    • Method Detail

      • compare

        public int compare​(java.lang.String o1,
                           java.lang.String o2)
        Specified by:
        compare in interface java.util.Comparator<java.lang.String>
      • build

        public static Validated build​(java.lang.String pattern)