class LOCALHOST

Features exported to ANY

The very machine on which the program runs

Direct parents

conformant parents

ADDRESS

Summary

creation features

exported features

Details

make
hash_code: INTEGER

The hash-code value of Current.

ensure

  • good_hash_value: Result >= 0

ip: IP_ADDRESS

The resolved address

ensure

  • conservative: Result = ip

deferred is_equal (other: LOCALHOST): BOOLEAN

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)