Class CaretRange

  • All Implemented Interfaces:
    java.util.Comparator<java.lang.String>, VersionComparator

    public class CaretRange
    extends LatestRelease
    Allows changes that do not modify the left-most non-zero element in the [major, minor, patch] tuple. Caret ranges.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Validated build​(java.lang.String pattern, @Nullable java.lang.String metadataPattern)  
      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