Interface CVersionType

All Superinterfaces:
java.lang.Comparable<CVersionType>, java.util.Formattable
All Known Implementing Classes:
CVersion

@Immutable
public interface CVersionType
extends java.lang.Comparable<CVersionType>, java.util.Formattable
  • Method Summary

    Modifier and Type Method Description
    default void checkPreconditions()  
    default int compareTo​(CVersionType other)  
    default void formatTo​(java.util.Formatter formatter, int flags, int width, int precision)  
    java.math.BigInteger major()  
    java.math.BigInteger minor()  
    java.math.BigInteger patch()  
  • Method Details

    • major

      @Parameter java.math.BigInteger major()
    • minor

      @Parameter java.math.BigInteger minor()
    • patch

      @Parameter java.math.BigInteger patch()
    • compareTo

      default int compareTo​(CVersionType other)
      Specified by:
      compareTo in interface java.lang.Comparable<CVersionType>
    • checkPreconditions

      @Check default void checkPreconditions()
    • formatTo

      default void formatTo​(java.util.Formatter formatter, int flags, int width, int precision)
      Specified by:
      formatTo in interface java.util.Formattable