The TaskList is a generic interface for a storage for RobotTask
objects. It will be used by the WebRobot for the queue and the list
of visited URLs.
It implements many methods from the Collection API, but will
only be used to store RobotTask objects.
Implementation could store the list in the memory, in a file or
even in an SQL database. For lookups it may be useful that the RobotTask
implements the hashCode() method.
Implementations should be thread-safe or must note that they are
nopt thread safe !
author: Daniel Matuschek version: $Id: TaskList.java,v 1.3 2002/05/31 14:45:56 matuschd Exp $ |