GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
tutorial
>
ITEM
+
Point of view
All features
ANY
All features
deferred class ITEM
Summary
top
Direct parents
Inherit list:
ANY
,
HASHABLE
Known children
Inherit list:
ITEM_ITEM
,
ITEM_VAR
Overview
top
Features
{
ANY
}
group
:
GROUP
name
:
STRING
index
:
INTEGER_32
is_like_integer
:
BOOLEAN
to_integer
:
INTEGER_32
is_off
:
BOOLEAN
hash_code
:
INTEGER_32
The hash-code value of
Current
.
{
ANY
}
is_equal
(other: ITEM):
BOOLEAN
Is
other
attached to an object considered equal to current object?
group
:
GROUP
writable attribute
{
ANY
}
top
name
:
STRING
writable attribute
{
ANY
}
top
index
:
INTEGER_32
deferred function
{
ANY
}
top
require
not
is_off
is_like_integer
:
BOOLEAN
effective function
{
ANY
}
top
to_integer
:
INTEGER_32
deferred function
{
ANY
}
top
require
is_like_integer
not
is_off
is_off
:
BOOLEAN
deferred function
{
ANY
}
top
hash_code
:
INTEGER_32
effective function
{
ANY
}
top
The hash-code value of
Current
.
ensure
good_hash_value:
Result >= 0
is_equal
(other: ITEM):
BOOLEAN
deferred function
{
ANY
}
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)