Package engine.misc
Class DeallocationHelper.AndroidDeallocator
- java.lang.Object
-
- engine.misc.DeallocationHelper.Deallocator
-
- engine.misc.DeallocationHelper.AndroidDeallocator
-
- Enclosing class:
- DeallocationHelper
public static class DeallocationHelper.AndroidDeallocator extends DeallocationHelper.Deallocator
-
-
Field Summary
-
Fields inherited from class engine.misc.DeallocationHelper.Deallocator
logger
-
-
Constructor Summary
Constructors Constructor Description AndroidDeallocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
run(ByteBuffer directByteBuffer)
releases the native memory of a deallocatable byte buffer
-
-
-
Method Detail
-
run
public boolean run(ByteBuffer directByteBuffer)
Description copied from class:DeallocationHelper.Deallocator
releases the native memory of a deallocatable byte buffer- Specified by:
run
in classDeallocationHelper.Deallocator
- Parameters:
directByteBuffer
- deallocatable byte buffer- Returns:
true
if the deallocation is successful, otherwisefalse
-
-