public class GLResourceBox<S extends GLResource>
extends java.lang.Object
| Constructor and Description | 
|---|
| GLResourceBox(S item) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose()Release the item and throw away the box | 
| S | get()Gets the held item. | 
| S | getAcquired()Increments the reference count before
 returning the object, for convenience. | 
public GLResourceBox(S item)
public S get()
public S getAcquired()
public void dispose()