Personally, I say that ObjectIterator links serves no real purpose other than for it to be passed from WebSpider.java into WebIndex.java's addPage() at which point in time/execution, you will take all the links *inside* the ObjectIterator links (hence it's being of type ObjectIterator which implements java.util.Iterator) and do something with all those links.
Personally, I say links exists not really as extra credit as much as merely feeding in all those extracted hyperlinks of a page from WebSpider.java into WebIndex.java's addPage(). |