Class FreeableBase
- java.lang.Object
-
- net.haesleinhuepf.clij.coremem.rgc.FreeableBase
-
- All Implemented Interfaces:
Freeable
- Direct Known Subclasses:
BasicRecycler,FragmentedMemory,MemoryBase
public abstract class FreeableBase extends Object implements Freeable
Base class for all freeable objects- Author:
- royer
-
-
Constructor Summary
Constructors Constructor Description FreeableBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplainIfFreed()Throws an exception when the object is freed more than once.
-
-
-
Method Detail
-
complainIfFreed
public void complainIfFreed() throws FreedExceptionDescription copied from interface:FreeableThrows an exception when the object is freed more than once.- Specified by:
complainIfFreedin interfaceFreeable- Throws:
FreedException- exception thrown
-
-