com.io7m.jcanephora.core

## Class JCGLVersion

- java.lang.Object
- - com.io7m.jcanephora.core.JCGLVersion

-     public final class JCGLVersion
      extends Object

  A structure representing the version of the current OpenGL implementation.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `JCGLVersionNumber` | `getNumber()`
    `String` | `getText()`
    `int` | `getVersionMajor()`
    `int` | `getVersionMicro()`
    `int` | `getVersionMinor()`
    `int` | `hashCode()`
    `static JCGLVersion` | `make(JCGLVersionNumber number, String text)` Construct a new version.
    `String` | `toString()`

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

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

- - ### Method Detail

    - #### make

          public static JCGLVersion make(JCGLVersionNumber number,
                                         String text)

      Construct a new version.
      Parameters:
        `number` - The number.
        `text` - The version text from which the original number was produced.
      Returns:
        A new version.

    - #### equals

          public boolean equals(@Nullable
                                Object obj)

      Overrides:
        `equals` in class `Object`

    - #### getNumber

          public JCGLVersionNumber getNumber()

      Returns:
        The version number as a `JCGLVersionNumber` structure.

    - #### getText

          public String getText()

      Returns:
        The original version string that was parsed to produce this version structure.

    - #### getVersionMajor

          public int getVersionMajor()

      Returns:
        The major version of the implementation.

    - #### getVersionMicro

          public int getVersionMicro()

      Returns:
        The micro version of the implementation (typically zero).

    - #### getVersionMinor

          public int getVersionMinor()

      Returns:
        The minor version of the implementation.

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2016 <code@io7m.com> http://io7m.com