code: public boolean isNewerThan(VersionComparator comparator) {
          if (this.major > comparator.getMajor()) {
              return true;
          }  else if (this.major == comparator.getMajor() && this.minor > comparator.getMinor()) {
              return true;
          } else if (this.major == comparator.getMajor() && this.minor == comparator.getMinor() && this.revision > comparator.getRevision()) {
              return true;
          } else if (this.major == comparator.getMajor() && this.minor == comparator.getMinor() && this.revision == comparator.getRevision() && this.prereleaseNumber > comparator.getPrereleaseNumber()) {
              return true;
          }
          return false;
      }
docs: Determines if the specified VersionComparator is newer than this instance.
  @param comparator a VersionComparator to compare to
  @return true if specified version if newer, false if not