expanded class STRING_RECYCLING_ITEM
Summary
Used by STRING_RECYCLING_POOL to track STRING capacities and to allow the use of a sorted array with "holes" (since STRING's are WEAK_REFERENCE'ed)
Direct parents
Insert list: ANY
Class invariant
Overview
Features
{ANY}
  • is_equal (other: STRING_RECYCLING_ITEM): BOOLEAN
    Is other attached to an object considered equal to current object?
  • copy (other: STRING_RECYCLING_ITEM)
    Update current object using fields of object attached to other, so as to yield equal objects.
{STRING_RECYCLING_POOL, STRING_RECYCLING_ITEM, STRING_RECYCLING_ITEM_SORTER}
{}
is_equal (other: STRING_RECYCLING_ITEM): BOOLEAN
effective function
{ANY}
Is other attached to an object considered equal to current object?
copy (other: STRING_RECYCLING_ITEM)
effective procedure
{ANY}
Update current object using fields of object attached to other, so as to yield equal objects.
The STRING item.
Stores the STRING as being reusable.
set_capacity (a_capacity: INTEGER_32)
effective procedure
Sets the capacity.
item_memory: WEAK_REFERENCE[STRING]
writable attribute
{}
Holds a recyclable STRING