- compareTo(Page) - Method in class Page
-
Since we implement the Comparable interface, we must provide
a method that describes how two Page objects should be compared.
- compareTo(Result) - Method in class Result
-
When we have finished building our Results list, we need to
sort the list by each Results score so that we can return
the ranked list.
- count - Variable in class MyQueue
-
Count to reflect the Queue size.
- crawl() - Method in class Crawler
-
Method to initiate and run the crawling process.
- crawl() - Method in class Driver
-
Method to start a new crawler with a given number of threads.
- Crawler - Class in <Unnamed>
-
Class for managing crawling pages, calling parse methods, and
storing the results.
- Crawler(String, String, int) - Constructor for class Crawler
-
Constructor for Crawler where a seed URL and
page count limit are provided.
- currentID - Static variable in class Crawler
-
Current URL ID that is next up to be parsed.