com.io7m.jcanephora.core

## Class JCGLResources

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

-     public final class JCGLResources
      extends Object

  Resource checking.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <R extends JCGLResourceUsableType> R` | `checkNotDeleted(R r)` Check that the current object has not been deleted.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### checkNotDeleted

          public static <R extends JCGLResourceUsableType> R checkNotDeleted(R r)
                                                                      throws JCGLExceptionDeleted

      Check that the current object has not been deleted.
      Type Parameters:
        `R` - A deletable object.
      Parameters:
        `r` - The object.
      Returns:
        The object.
      Throws:
        `JCGLExceptionDeleted` - If the object has been deleted.
      See Also:
        `JCGLResourceUsableType.isDeleted()`

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