Discussion Board
There are no previous messagesGo to the following message
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
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
WebSpider::hasNext() ???      Cipriani, Jason A.      Tue Nov 6 2001 11:46 pm       
Re: WebSpider::hasNext() ???      Lee, Peter      Wed Nov 7 2001 2:39 am       
understanding and encouragement      Liu, Limin Angela      Wed Nov 7 2001 11:17 am       
Re: understanding and encoura...      Cipriani, Jason A.      Wed Nov 7 2001 1:04 pm       
Re: understanding and enco...      Chen, Richard      Sat Nov 10 2001 10:31 pm       
Re: understanding and e...      Chen, Richard      Sat Nov 10 2001 10:58 pm       
Re: understanding and e...      Goodman, Brian J.      Sat Nov 10 2001 11:20 pm       
Re: understanding an...      Chen, Richard      Fri Nov 16 2001 7:11 pm       
Re: understanding...      Bortz, Andrew S.      Fri Nov 16 2001 8:48 pm       
Re: understanding and e...      Lee, Peter      Sun Nov 11 2001 10:13 am       
Re: WebSpider::hasNext() ???      Chen, Richard      Wed Nov 14 2001 12:14 am       

Back to previous screen