expanded class PYTHON_DICTIONARY_NODE [V_, K_]
Summary
Direct parents
Insert list: HASHABLE
Overview
Creation features
{ABSTRACT_PYTHON_DICTIONARY}
Features
{ANY}
  • is_equal (other: PYTHON_DICTIONARY_NODE [V_, K_]): BOOLEAN
    Is other attached to an object considered equal to current object?
{ABSTRACT_PYTHON_DICTIONARY, PYTHON_DICTIONARY_NODE}
{}
is_equal (other: PYTHON_DICTIONARY_NODE [V_, K_]): BOOLEAN
effective function
{ANY}
Is other attached to an object considered equal to current object?
require
  • other /= Void
ensure
  • Result implies hash_code = other.hash_code
  • commutative: generating_type = other.generating_type implies Result = other.is_equal(Current)
The hash-code value of Current.
ensure
  • good_hash_value: Result >= 0
require
item: V_
writable attribute
require
set (a_item: V_)
effective procedure
require ensure
default_create
effective procedure
{}
Default creation method.
It is used when no creation method is specified if allowed. Note it may be renamed.
ensure
make (a_item: V_, a_key: K_, a_hash: INTEGER_32)
effective procedure
{}
ensure
safe_equal_key: SAFE_EQUAL[K_]
writable attribute
{}
safe_equal_item: SAFE_EQUAL[V_]
writable attribute
{}