@@ -169,10 +169,17 @@ - (id)objectAtIndex: (size_t)index { return *((OFObject**)[array itemAtIndex: index]); } + +- (id)firstObject +{ + void *first = [array firstItem]; + + return (first != NULL ? *((id*)first) : nil); +} - (id)lastObject { void *last = [array lastItem];