implement CPIndexSet isEqual:

This commit is contained in:
Klaas Pieter Annema committed 2010-07-27 09:09:59 +02:00
1 parent 24f72c0b73
commit b9c2becd3e
1 file changed
+11
+11
View File
@@ -130,6 +130,17 @@
return self;
}
- (BOOL)isEqual:(id)anObject
{
if (self === anObject)
return YES;
if (!anObject || ![anObject isKindOfClass:[CPIndexSet class]])
return NO;
return [self isEqualToIndexSet:anObject];
}
// Querying an Index Set
/*!
Compares the receiver with the provided index set.