Class PreReleaseIdentifier.AlphaNumericalPreReleaseIdentifier

    • Constructor Detail

      • AlphaNumericalPreReleaseIdentifier

        public AlphaNumericalPreReleaseIdentifier​(@NotNull
                                                  @NotNull java.lang.String value)
        Constructs a new alphanumerical identifier with the provided value.
        Parameters:
        value - The value of this identifier.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • asString

        @NotNull
        protected @NotNull java.lang.String asString()
        Description copied from class: PreReleaseIdentifier
        This identifier formatted as a string.
        Specified by:
        asString in class PreReleaseIdentifier
        Returns:
        This identifier as a string.
      • isNumeric

        protected boolean isNumeric()
        Description copied from class: PreReleaseIdentifier
        Whether or not this identifier can contain numerical values.
        Specified by:
        isNumeric in class PreReleaseIdentifier
        Returns:
        true if this identifier can contain numerical values, false otherwise.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object