开发者

Compare six arrays at once

I have six arrays, and I want to compare all those arrays 开发者_如何学JAVAat the same time. Can someone please suggest a solution for this?


isEqualToArray: Compares the receiving array to another array.

  • (BOOL)isEqualToArray:(NSArray *)otherArray Parameters otherArray An array. Return Value YES if the contents of otherArray are equal to the contents of the receiving array, otherwise NO.

Discussion Two arrays have equal contents if they each hold the same number of objects and objects at a given index in each array satisfy the isEqual: test.

Availability Available in iOS 2.0 and later. Declared In NSArray.h

From NSArray Class Reference

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜