Class GenericTaggedQueue

All Implemented Interfaces:
Serializable, Iterable<GenericTaggedNode>, Collection<GenericTaggedNode>, BlockingQueue<GenericTaggedNode>, Queue<GenericTaggedNode>

public class GenericTaggedQueue extends FastBlockingQueue<GenericTaggedNode>
This class extends the standard FastBlockingQueue to contain context information associated with a particular instance of the queue.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Field Details

    • gtnFile

      public File gtnFile
      The File object for the disk file associated with this queue.
    • isUntypedWay

      public int isUntypedWay
      Flag indicating whether Ways queued here are untyped (i.e., only pieces of a Relation).
    • bLat

      public int bLat
      Whole number of degrees latitude for this tile.
    • lLon

      public int lLon
      Whole number of degrees longitude for this tile.
    • untiled

      public boolean untiled
      Flag indicating whether Ways queued here are untiled (i.e., spanning multiple tiles and kept only for Relation processing).
  • Constructor Details

    • GenericTaggedQueue

      public GenericTaggedQueue(int capacity, File gtnFile)
      Create a FastBlockingQueue with the specified maximum queue backlog.
      Parameters:
      capacity - int maximum capacity of queue
      gtnFile - File representing where queued entries should be stored
  • Method Details