This ensures that collections that are different class instances or contain different class instances are still seen as equal when they represent the same underlying data.
All references to collection objects are specialized in that they return the actual interface they support, allowing you to use the objects without casting.
However, there are no specialized iterators in the collections. All collections support the same
OpenEdge.DataAdmin.Lang.Collections.IIterator with a
Next( ) method that returns a
Progress.Lang.Object. So, you must cast the objects returned from a collection with this iterator to the appropriate interface for processing. For more information, see
IIteratorinterface.