mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 02:33:50 +00:00
implement CPIndexSet isEqual:
This commit is contained in:
1 parent
24f72c0b73
commit
b9c2becd3e
1 file changed
+11
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user