GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
PYTHON_DICTIONARY_NODE
+
Point of view
PYTHON_DICTIONARY_NODE
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
ABSTRACT_PYTHON_DICTIONARY
PYTHON_DICTIONARY_NODE
All features
expanded class PYTHON_DICTIONARY_NODE [V_, K_]
Summary
top
Direct parents
Insert list:
HASHABLE
Overview
top
Creation features
Exported features
is_equal
(other: PYTHON_DICTIONARY_NODE [V_, K_]):
BOOLEAN
Is
other
attached to an object considered equal to current object?
hash_code
:
INTEGER_32
The hash-code value of
Current
.
key
: K_
item
: V_
is_set
:
BOOLEAN
set
(a_item: V_)
is_equal
(other: PYTHON_DICTIONARY_NODE [V_, K_]):
BOOLEAN
effective function
top
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)
hash_code
:
INTEGER_32
writable attribute
top
The hash-code value of
Current
.
ensure
good_hash_value:
Result >= 0
key
: K_
writable attribute
top
require
is_set
item
: V_
writable attribute
top
require
is_set
is_set
:
BOOLEAN
writable attribute
top
set
(a_item: V_)
effective procedure
top
require
is_set
ensure
key
= old
key
item
= a_item
is_set