Differences From Artifact [a17707039e]:
- File src/OFArray.h — part of check-in [1e249becdf] at 2011-05-19 00:47:55 on branch trunk — Add +[OFArray arrayWithArray:]. (user: js, size: 7838) [annotate] [blame] [check-ins using]
To Artifact [80d0f51e0b]:
- File
src/OFArray.h
— part of check-in
[8ff55bf218]
at
2011-07-17 16:38:47
on branch trunk
— Remove -[containsObjectIdenticalTo:] from OFCopying.
It is still implemented by all classes implementing OFCollection so far,
but new classes are not required to implement it anymore.This is required to add OFCountedSet later, which can't support it. (user: js, size: 8144) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
177 178 179 180 181 182 183 184 185 186 187 188 189 190 | * * \param object The object whose index is returned * \return The index of the first object that has the same aaddress as * the specified object or OF_INVALID_INDEX if it was not found */ - (size_t)indexOfObjectIdenticalTo: (id)object; /** * \brief Returns the first object of the array or nil. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \return The first object of the array or nil | > > > > > > > > > > | 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | * * \param object The object whose index is returned * \return The index of the first object that has the same aaddress as * the specified object or OF_INVALID_INDEX if it was not found */ - (size_t)indexOfObjectIdenticalTo: (id)object; /** * \brief Checks whether the array contains an object with the specified * address. * * \param object The object which is checked for being in the array * \return A boolean whether the array contains an object with the specified * address. */ - (BOOL)containsObjectIdenticalTo: (id)object; /** * \brief Returns the first object of the array or nil. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! * * \return The first object of the array or nil |
︙ | ︙ |