Instance Method インスタンスメソッド

removeObjectIdenticalTo:

Removes all occurrences of a given object in the array. 与えられたオブジェクトの全ての出現を配列から除去します。

Declaration 宣言

- (void)removeObjectIdenticalTo:(ObjectType)anObject;

Parameters パラメータ

anObject

The object to remove from the array. 配列から取り除かれることになるオブジェクト。

Discussion 議論

This method determines a match by comparing the address of anObject to the addresses of objects in the receiver. If the array does not contain anObject, the method has no effect (although it does incur the overhead of searching the contents). このメソッドは、anObjectのアドレスをレシーバの中のオブジェクトのアドレスと比較することによってある一致を特定します。配列がanObjectを含まないならば、メソッドは効果を持ちません(にもかかわらずそれは内容を検索する経費を招きます)。

See Also 参照

Removing Objects オブジェクトを取り除く