是否有可能重写了equals()运算符(即客户类,其中的平等可以通过2个或多个字段的匹配来确定)。
Is it possible to override the equals() operator (ie. for customer classes where equality may be determined by 2 or more fields matching).
如果你的意思是超载==的代名词的equals(),那么你不能,因为动作不提供操作符重载。只要写一个equals()方法的类,并使用...
if you mean overloading "==" as a synonym for equals() then you can't, as ActionScript doesn't offer operator overloading. Just write an equals() method for your class and use that...
上一篇:如何从XSD架构ActionScript对象(Flex的),在运行时去?架构、对象、XSD、Flex
下一篇:可以在AS2瑞士法郎装载到AS3瑞士法郎?我如何添加这个舞台上,并用它从AS3 SWF互动?瑞士法郎、互动、用它、舞台上