+2005-10-13 Helge Hess <helge.hess@skyrix.com>
+
+ * EOArrayProxy.m, EOPrimaryKeyDictionary.m, EOExpressionArray.m,
+ EORecordDictionary.m: added -isNotEmpty methods (v4.5.55)
+
2005-08-16 Helge Hess <helge.hess@opengroupware.org>
* GNUmakefile, GNUmakefile.preamble: added OSX framework compilation
_checkFetch(self);
return [self->content count];
}
+- (BOOL)isNotEmpty {
+ _checkFetch(self);
+ return [self->content count] > 0 ? YES : NO;
+}
- (unsigned int)indexOfObjectIdenticalTo:(id)_object {
_checkFetch(self);
return [self->content indexOfObjectIdenticalTo:_object];
- (unsigned int)count {
return [self->array count];
}
+- (BOOL)isNotEmpty {
+ return [self->array count] > 0 ? YES : NO;
+}
- (NSEnumerator *)objectEnumerator {
return [self->array objectEnumerator];
- (unsigned int)count {
return 1;
}
+- (BOOL)isNotEmpty {
+ return YES;
+}
- (unsigned int)hash {
return 1;
- (unsigned int)count {
return self->count;
}
+- (BOOL)isNotEmpty {
+ return self->count > 0 ? YES : NO;
+}
- (unsigned int)hash {
return self->count;
- (unsigned int)count {
return self->count;
}
+- (BOOL)isNotEmpty {
+ return self->count > 0 ? YES : NO;
+}
+
- (NSEnumerator *)keyEnumerator {
- return AUTORELEASE([[_EORecordDictionaryKeyEnumerator alloc]
- initWithDictionary:self
- firstEntry:self->entries count:self->count]);
+ return [[[_EORecordDictionaryKeyEnumerator alloc]
+ initWithDictionary:self
+ firstEntry:self->entries count:self->count] autorelease];
}
@end /* NSConcreteSmallDictionary */
# version file
-SUBMINOR_VERSION:=54
+SUBMINOR_VERSION:=55