Current Forum: Homework 5 - Parts 1 and 2 |
Date: Tue Nov 6 2001 11:46 pm |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: WebSpider::hasNext() ??? |
|
|
what is this for?
has another page to crawl? that doesn't make any sense. WebCrawler never has any other pages to crawl because you only pass it one URL in it's constructor... and the crawl() method adds the page and all of the pages that it links to (up to the page limit, of course) to the Indexer that it returns.
i don't understand.
and what's the point of the Spider interface? i understand why interfaces are useful, but seriously folks, in an assignment like this it seems like using all these silly interfaces do nothing but add more files to the jar and give the ta's yet another source file to express their preference for poor indentation habits and inconsistent variable names (minus 10 for style).
jason |
|