Interface IDVRPseudoVersionComparable

All Known Subinterfaces:
IDVRPseudoVersion
All Known Implementing Classes:
DVRPseudoVersion

public interface IDVRPseudoVersionComparable
Helper interface to ensure that versions and pseudo version can be kept in strict order.
Since:
1.2.0
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Compare this object to the provided pseudo version.
    int
    compareToVersion(com.helger.commons.version.Version aOtherStaticVersion)
    Compare this object to the provided static version.
  • Method Details

    • compareToPseudoVersion

      int compareToPseudoVersion(@Nonnull IDVRPseudoVersion aOtherPseudoVersion)
      Compare this object to the provided pseudo version.
      Parameters:
      aOtherPseudoVersion - The pseudo version to compare to. Never null.
      Returns:
      a value < 0 if this is < other version; value 0 if this = other version; value > 0 if this is > other version
    • compareToVersion

      int compareToVersion(@Nonnull com.helger.commons.version.Version aOtherStaticVersion)
      Compare this object to the provided static version.
      Parameters:
      aOtherStaticVersion - The static version to compare to. Never null.
      Returns:
      a value < 0 if this is < other version; value 0 if this = other version; value > 0 if this is > other version