code: @Override
      public int compareTo(Version other) {
          int result = normal.compareTo(other.normal);
          if (result == 0) {
              result = preRelease.compareTo(other.preRelease);
          }
          return result;
      }
docs: Compares this version to the other version.
  
  This method does not take into account the versions' build
  metadata. If you want to compare the versions' build metadata
  use the {@code Version.compareWithBuildsTo} method or the
  {@code Version.BUILD_AWARE_ORDER} comparator.
  
  @param other the other version to compare to
  @return a negative integer, zero or a positive integer if this version
  is less than, equal to or greater the the specified version
  @see #BUILD_AWARE_ORDER
  @see #compareWithBuildsTo(Version other)