Class PreReleaseIdentifier

    • Constructor Detail

      • PreReleaseIdentifier

        public PreReleaseIdentifier()
    • Method Detail

      • asInteger

        protected java.math.BigInteger asInteger()
                                          throws java.lang.UnsupportedOperationException
        This identifier as an integer.
        Returns:
        This identifier as an integer.
        Throws:
        java.lang.UnsupportedOperationException - If this identifier cannot be formatted as an integer.
      • asString

        @NotNull
        protected abstract @NotNull java.lang.String asString()
        This identifier formatted as a string.
        Returns:
        This identifier as a string.
      • getFormatted

        @NotNull
        public @NotNull java.lang.String getFormatted()
        Description copied from interface: Formattable
        This object represented as a short and human readable string.
        Specified by:
        getFormatted in interface Formattable
        Returns:
        This object as a readable string.
      • isNumeric

        protected abstract boolean isNumeric()
        Whether or not this identifier can contain numerical values.
        Returns:
        true if this identifier can contain numerical values, false otherwise.