Interface Version


public interface Version
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all the numeric parts of this version as Long, with nulls in non-numeric positions.
    Returns all the parts of this version.
    Returns the original String representation of the version.
  • Method Details

    • getSource

      String getSource()
      Returns the original String representation of the version.
    • getParts

      String[] getParts()
      Returns all the parts of this version. e.g. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,beta,4].
    • getNumericParts

      Long[] getNumericParts()
      Returns all the numeric parts of this version as Long, with nulls in non-numeric positions. eg. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,null,4].