com.jogamp.common.util

## Class VersionNumberString

- java.lang.Object
- - com.jogamp.common.util.VersionNumber
  - - com.jogamp.common.util.VersionNumberString

- All Implemented Interfaces:
    Comparable<Object>

      public class VersionNumberString
      extends VersionNumber

  `VersionNumber` specialization, holding the `versionString` this instance is derived from.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `strVal`
    `static VersionNumberString` | `zeroVersion` A `zero` version instance, w/o any component defined explicitly.

    - ### Fields inherited from class com.jogamp.common.util.VersionNumber

      `HAS_MAJOR, HAS_MINOR, HAS_SUB, major, minor, state, strEnd, sub`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `VersionNumberString(int majorRev, int minorRev, int subMinorRev, int strEnd, short _state, String versionString)`
    `` | `VersionNumberString(int majorRev, int minorRev, int subMinorRev, String versionString)` See `VersionNumber.VersionNumber(int, int, int)`.
    `` | `VersionNumberString(String versionString)` See `VersionNumber.VersionNumber(String)`.
    `` | `VersionNumberString(String versionString, Pattern versionPattern)` See `VersionNumber.VersionNumber(String, java.util.regex.Pattern)`.
    `` | `VersionNumberString(String versionString, String delim)` See `VersionNumber.VersionNumber(String, String)`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getVersionString()` Returns the version string this version number is derived from.
    `String` | `toString()`

    - ### Methods inherited from class com.jogamp.common.util.VersionNumber

      `compareTo, compareTo, endOfStringMatch, equals, getDefaultVersionNumberPattern, getMajor, getMinor, getSub, getVersionNumberPattern, hashCode, hasMajor, hasMinor, hasSub, isZero`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### zeroVersion

          public static final VersionNumberString zeroVersion

      A `zero` version instance, w/o any component defined explicitly.
      See Also:
        `VersionNumber.hasMajor()`, `VersionNumber.hasMinor()`, `VersionNumber.hasSub()`

    - #### strVal

          protected final String strVal

  - ### Constructor Detail

    - #### VersionNumberString

          protected VersionNumberString(int majorRev,
                             int minorRev,
                             int subMinorRev,
                             int strEnd,
                             short _state,
                             String versionString)

    - #### VersionNumberString

          public VersionNumberString(int majorRev,
                             int minorRev,
                             int subMinorRev,
                             String versionString)

      See `VersionNumber.VersionNumber(int, int, int)`.

    - #### VersionNumberString

          public VersionNumberString(String versionString)

      See `VersionNumber.VersionNumber(String)`.

    - #### VersionNumberString

          public VersionNumberString(String versionString,
                             String delim)

      See `VersionNumber.VersionNumber(String, String)`.

    - #### VersionNumberString

          public VersionNumberString(String versionString,
                             Pattern versionPattern)

      See `VersionNumber.VersionNumber(String, java.util.regex.Pattern)`.

  - ### Method Detail

    - #### getVersionString

          public final String getVersionString()

      Returns the version string this version number is derived from.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `VersionNumber`