GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
STRING_RECYCLING_ITEM
+
Point of view
INTERNALS_HANDLER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
STRING_RECYCLING_POOL
STRING_RECYCLING_ITEM
STRING_RECYCLING_ITEM_SORTER
All features
expanded class STRING_RECYCLING_ITEM
Summary
top
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
Overview
top
Exported features
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.
is_equal
(other: STRING_RECYCLING_ITEM):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
copy
(other: STRING_RECYCLING_ITEM)
effective procedure
top
Update current object using fields of object attached to
other
, so as to yield equal objects.
Note: you can't copy object from a different dynamic type.
require
not immutable
same_dynamic_type(other)
ensure
is_equal(other)