Ds\Hashable::equals
Ds\Hashable::equals
(PECL ds >= 1.0.0)
Ds\Hashable::equals — Determines whether an object is equal to the current instance.
Description
abstract public bool Ds\Hashable::equals ( object $obj )
Determines whether another object is equal to the current instance.
This method allows objects to be used as keys in structures such as Ds\Map and Ds\Set, or any other lookup structure that honors this interface.
Note:
It's guaranteed that
登录查看完整内容