Constructor.
Allows using the free list as a stack to park objects without marking them as free. The parked object are appended to the free list after the free objects currently in the list. At most one ParkingStack instance may exist at a time. While a ParkingStack instance exists, no public FreeList method may be used.
Obtains an object either from the free list, if available, or from new_object if the free list is empty.
Appends old_object to the free list.
Obtains the next object of object. object is never null but the next object may be.
Allocates a new object. Called by get() if the list is empty.
Calls dg with an IParkingStack instance that is set up to keep n elements.
Sets the next object of object. object is never null but next may be.
Stores the size of a single allocated element.
Gets or allocates an object
Performs the actual allocation of an object
Recycles or deletes an object that is no longer used.
Performs the actual recycling of an object. See recycle() documentation.
Return the amount of memory currently used.
Helper class to temprarily park a certain number of objects.
Calls dg with an IParkingStack instance that is set up to keep n elements.
Type generic BucketElementFreeList base class.