Packages

object WaitQueue extends Serializable

The WaitQueue companion object provides a builder method for wait-queues.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WaitQueue
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(name: String, xy: (Int, Int), cap: Int = Int.MaxValue): WaitQueue

    Create a wait-queue using integer-valued defaults for width (w) and height (h).

    Create a wait-queue using integer-valued defaults for width (w) and height (h).

    name

    the name of the wait-queue

    xy

    the (x, y) coordinates for the top-left corner of the wait-queue.

    cap

    the capacity of the queue (defaults to unbounded)

  2. def group(xy: (Int, Int), que: (String, (Int, Int))*): List[WaitQueue]

    Create a group of related wait-queues using defaults for width 'w' and height 'h'.

    Create a group of related wait-queues using defaults for width 'w' and height 'h'.

    xy

    the (x, y) coordinates for the top-left corner of the reference queue.