TwoPrioritiesListQueue (Siena 2.0.4 API Documentation)
Date: 2015-05-17

siena.dvdrp

## Class TwoPrioritiesListQueue

- java.lang.Object
- - siena.dvdrp.TwoPrioritiesListQueue

-     public class TwoPrioritiesListQueue
      extends java.lang.Object

  a simple implementation of a priority queue with only two priorities. The queue is used to hold DV and UDV messages to be sent by `siena.DispatcherThread`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `HIGH`
    `static int` | `LOW`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TwoPrioritiesListQueue()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(java.lang.Object obj, int priority)`
    `void` | `clear()`
    `java.lang.Object` | `next()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### HIGH

          public static int HIGH

    - #### LOW

          public static int LOW

  - ### Constructor Detail

    - #### TwoPrioritiesListQueue

          public TwoPrioritiesListQueue()

  - ### Method Detail

    - #### add

          public void add(java.lang.Object obj,
                 int priority)

    - #### next

          public java.lang.Object next()

    - #### clear

          public void clear()

Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2011 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga