zombie.core.utils
Class WrappedBuffer

java.lang.Object
  extended by zombie.core.utils.WrappedBuffer

public final class WrappedBuffer
extends java.lang.Object

Tracks allocated buffers


Constructor Summary
WrappedBuffer(java.nio.ByteBuffer buf)
           
 
Method Summary
 void dispose()
           
 java.nio.ByteBuffer getBuffer()
           
 boolean isDisposed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedBuffer

public WrappedBuffer(java.nio.ByteBuffer buf)
Method Detail

getBuffer

public java.nio.ByteBuffer getBuffer()

dispose

public void dispose()

isDisposed

public boolean isDisposed()