From: Rick McGuire <object.rexx@gm...> - 2008-09-16 13:43:20
In writing test stubs for the array, directory, and table APIs, I
noticed that only array has a HasIndex method. We probably should be
consistent between these collection class APIs. However, rather than
add HasIndex to directory and table, I suspect removing HasIndex from
array is the better course. The AT/GET methods for the collection
classes return NULLOBJECT if the item is not in the collection at the
given index. This sort of obviates the need for a second HasIndex
call since you can distinguish between nothing at that index and .nil
stored at that index (unlike what's needed in ooRexx code).
So, given the above, if there are no good arguments advanced for
keeping array HasIndex or adding HasIndex for the other types, I'm
going to remove the array one.