Package org.oscim.layers.tile
Class JobQueue
java.lang.Object
org.oscim.layers.tile.JobQueue
A JobQueue keeps the list of pending jobs for a MapView and prioritizes them.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobQueue
public JobQueue()
-
-
Method Details
-
setJobs
- Parameters:
tiles- the jobs to be added to this queue.
-
clear
public void clear()Removes all jobs from this queue. -
isEmpty
public boolean isEmpty()- Returns:
- true if this queue contains no jobs, false otherwise.
-
poll
- Returns:
- the most important job from this queue or null, if empty.
-