operator == 抽象方法
- Object other
override
是否此镜子等于 other。
相等性成立的条件是:且仅当
-
other是相同类型的镜子,并且 -
要么
a. hasReflectee 为真并且
identical(reflectee, other.reflectee)也为真,或者b. 由这个镜像和
other反射的远程对象是相同的。
实现
bool operator ==(Object other);
是否此镜子等于 other。
相等性成立的条件是:且仅当
other 是相同类型的镜子,并且
要么
a. hasReflectee 为真并且 identical(reflectee, other.reflectee) 也为真,或者
b. 由这个镜像和 other 反射的远程对象是相同的。
bool operator ==(Object other);