posted 15 years ago
Hi all,
I have a clarification on methods of Iterator interface. Iterator interface provides hasNext(), next() and remove() methods. From the Javadoc, class BeanContextSupport implements Iterator.
In collections like ArrayList, HashTable, HashSet, Vector we make use of those 3 methods to traverse through and remove objects. If you take ArrayList's hierarchy, I don't find BeanContextSupport in picture. In that case, which implementation does an ArrayList (or any collection) take for those 3 methods? Maybe a trivial question !!!
Thanks,
Sambhavi