+
Point of view
All features
deferred class HASHABLE
Summary
Overview
Features
{ANY}
hash_code: INTEGER_32
deferred function
{ANY}
The hash-code value of Current.
ensure
  • good_hash_value: Result >= 0
is_equal (other: HASHABLE): BOOLEAN
deferred 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)