Packages

class WaitQueue extends Queue[SimActor] with Component

The WaitQueue class is a wrapper for Scala's Queue class, which supports First-Come, First-Serve 'FCSC' Queues. It adds monitoring capabilities and optional capacity restrictions. If the queue is full, entities (SimActors) attempting to enter the queue are 'barred'. At the model level, such entities may be (1) held in place, (2) take an alternate route, or (3) be lost (e.g., dropped call/packet).

Linear Supertypes
Component, Locatable, Identifiable, Error, Queue[SimActor], ArrayDeque[SimActor], DefaultSerializable, Serializable, ArrayDequeOps[SimActor, [_]Queue[_], Queue[SimActor]], StrictOptimizedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]], StrictOptimizedIterableOps[SimActor, [_]Queue[_], Queue[SimActor]], IndexedBuffer[SimActor], IndexedSeq[SimActor], IndexedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]], IndexedSeq[SimActor], IndexedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]], AbstractBuffer[SimActor], Buffer[SimActor], Shrinkable[SimActor], Growable[SimActor], Clearable, AbstractSeq[SimActor], Seq[SimActor], SeqOps[SimActor, [_]Queue[_], Queue[SimActor]], Cloneable[Queue[SimActor]], Cloneable, Iterable[SimActor], AbstractSeq[SimActor], Seq[SimActor], Equals, SeqOps[SimActor, [_]Queue[_], Queue[SimActor]], PartialFunction[Int, SimActor], (Int) => SimActor, AbstractIterable[SimActor], Iterable[SimActor], IterableFactoryDefaults[SimActor, [x]Queue[x]], IterableOps[SimActor, [_]Queue[_], Queue[SimActor]], IterableOnceOps[SimActor, [_]Queue[_], Queue[SimActor]], IterableOnce[SimActor], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WaitQueue
  2. Component
  3. Locatable
  4. Identifiable
  5. Error
  6. Queue
  7. ArrayDeque
  8. DefaultSerializable
  9. Serializable
  10. ArrayDequeOps
  11. StrictOptimizedSeqOps
  12. StrictOptimizedIterableOps
  13. IndexedBuffer
  14. IndexedSeq
  15. IndexedSeqOps
  16. IndexedSeq
  17. IndexedSeqOps
  18. AbstractBuffer
  19. Buffer
  20. Shrinkable
  21. Growable
  22. Clearable
  23. AbstractSeq
  24. Seq
  25. SeqOps
  26. Cloneable
  27. Cloneable
  28. Iterable
  29. AbstractSeq
  30. Seq
  31. Equals
  32. SeqOps
  33. PartialFunction
  34. Function1
  35. AbstractIterable
  36. Iterable
  37. IterableFactoryDefaults
  38. IterableOps
  39. IterableOnceOps
  40. IterableOnce
  41. AnyRef
  42. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WaitQueue(name: String, xy: (Double, Double), cap: Int)

    Auxiliary constructor that uses defaults for width (w) and height (h).

    Auxiliary constructor that uses 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. new WaitQueue(name: String, at: Array[Double], cap: Int = Int.MaxValue)

    name

    the name of the wait-queue

    at

    the location of the wait-queue (x, y, w, h)

    cap

    the capacity of the queue (defaults to unbounded)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: SimActor](suffix: IterableOnce[B]): Queue[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def ++:[B >: SimActor](prefix: IterableOnce[B]): Queue[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  5. final def ++=(xs: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  6. final def ++=:(elems: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  7. final def +:[B >: SimActor](elem: B): Queue[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def +=(elem: SimActor): WaitQueue.this.type
    Definition Classes
    Growable
    Annotations
    @inline()
  9. final def +=:(elem: SimActor): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  10. final def --=(xs: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  11. final def -=(elem: SimActor): WaitQueue.this.type
    Definition Classes
    Shrinkable
    Annotations
    @inline()
  12. final def :+[B >: SimActor](elem: B): Queue[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  13. final def :++[B >: SimActor](suffix: IterableOnce[B]): Queue[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  14. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. val DIAM: Double

    Diameter of a token (for animating entities)

    Diameter of a token (for animating entities)

    Definition Classes
    Component
  16. val RAD: Double

    Radius of a token (for animating entities)

    Radius of a token (for animating entities)

    Definition Classes
    Component
  17. def accum(value: Double): Unit

    Accumulate the value (e.g., number in queue) weighted by its time duration.

    Accumulate the value (e.g., number in queue) weighted by its time duration.

    value

    the value to accumulate

    Definition Classes
    Component
  18. def addAll(elems: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    ArrayDeque → Growable
  19. def addOne(elem: SimActor): WaitQueue.this.type
    Definition Classes
    ArrayDeque → Growable
  20. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  21. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  22. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  23. def aggregate(): Unit

    Aggregate the statistics of this component's subparts.

    Aggregate the statistics of this component's subparts.

    Definition Classes
    Component
  24. def andThen[C](k: PartialFunction[SimActor, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  25. def andThen[C](k: (SimActor) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  26. final def append(elem: SimActor): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  27. final def appendAll(xs: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @inline()
  28. def appended[B >: SimActor](elem: B): Queue[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  29. def appendedAll[B >: SimActor](suffix: IterableOnce[B]): Queue[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  30. def apply(idx: Int): SimActor
    Definition Classes
    ArrayDeque → SeqOps → Function1
  31. def applyOrElse[A1 <: Int, B1 >: SimActor](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  32. var array: Array[AnyRef]
    Attributes
    protected
    Definition Classes
    ArrayDeque → ArrayDequeOps
  33. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  34. def at: Array[Double]
    Definition Classes
    Locatable
  35. def at_=(at: Array[Double]): Unit
    Definition Classes
    Locatable
  36. def barred: Int

    Return the number entities barred because of 'this' wait-queue being full.

  37. def canEqual(that: Any): Boolean
    Definition Classes
    Seq → Equals
  38. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  39. def clear(): Unit
    Definition Classes
    ArrayDeque → Clearable
  40. def clearAndShrink(size: Int): WaitQueue.this.type
    Definition Classes
    ArrayDeque
  41. final def clone(): Queue[SimActor]
    Definition Classes
    ArrayDequeOps → AnyRef
  42. final def coll: WaitQueue.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  43. def collect[B](pf: PartialFunction[SimActor, B]): Queue[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  44. def collectFirst[B](pf: PartialFunction[SimActor, B]): Option[B]
    Definition Classes
    IterableOnceOps
  45. def combinations(n: Int): Iterator[Queue[SimActor]]
    Definition Classes
    SeqOps
  46. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, SimActor]
    Definition Classes
    PartialFunction
  47. def compose[A](g: (A) => Int): (A) => SimActor
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  48. def composite: Boolean

    Indicate whether this component is composite, i.e., has subparts.

    Indicate whether this component is composite, i.e., has subparts.

    Definition Classes
    Component
  49. final def concat[B >: SimActor](suffix: IterableOnce[B]): Queue[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  50. def contains[A1 >: SimActor](elem: A1): Boolean
    Definition Classes
    SeqOps
  51. def containsSlice[B >: SimActor](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  52. def copySliceToArray(srcStart: Int, dest: Array[_], destStart: Int, maxItems: Int): dest.type
    Definition Classes
    ArrayDequeOps
  53. def copyToArray[B >: SimActor](dest: Array[B], destStart: Int, len: Int): Int
    Definition Classes
    ArrayDeque → IterableOnceOps
  54. def copyToArray[B >: SimActor](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  55. def copyToArray[B >: SimActor](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  56. def corresponds[B](that: Seq[B])(p: (SimActor, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  57. def corresponds[B](that: IterableOnce[B])(p: (SimActor, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  58. def count(p: (SimActor) => Boolean): Int
    Definition Classes
    IterableOnceOps
  59. def dequeue(): SimActor
    Definition Classes
    Queue
  60. def dequeueAll(p: (SimActor) => Boolean): Seq[SimActor]
    Definition Classes
    Queue
  61. def dequeueFirst(p: (SimActor) => Boolean): Option[SimActor]
    Definition Classes
    Queue
  62. def dequeueWhile(f: (SimActor) => Boolean): Seq[SimActor]
    Definition Classes
    Queue
  63. def diff[B >: SimActor](that: Seq[B]): Queue[SimActor]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  64. def director: Model

    Get the director who controls the play/simulation this component is in.

    Get the director who controls the play/simulation this component is in.

    Definition Classes
    Component
  65. def director_=(director: Model): Unit

    Set this component's director (the controller of the simulation model).

    Set this component's director (the controller of the simulation model).

    director

    the director of the play/simulation

    Definition Classes
    Component
  66. def display(): Unit

    Tell the animation queue to display 'this' wait-queue.

    Tell the animation queue to display 'this' wait-queue.

    Definition Classes
    WaitQueueComponent
  67. def distinct: Queue[SimActor]
    Definition Classes
    SeqOps
  68. def distinctBy[B](f: (SimActor) => B): Queue[SimActor]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  69. def drop(n: Int): Queue[SimActor]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  70. def dropInPlace(n: Int): WaitQueue.this.type
    Definition Classes
    Buffer
  71. def dropRight(n: Int): Queue[SimActor]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  72. def dropRightInPlace(n: Int): WaitQueue.this.type
    Definition Classes
    Buffer
  73. def dropWhile(p: (SimActor) => Boolean): Queue[SimActor]
    Definition Classes
    IterableOps → IterableOnceOps
  74. def dropWhileInPlace(p: (SimActor) => Boolean): WaitQueue.this.type
    Definition Classes
    Buffer
  75. def durationStat: Statistic

    Return sample statistics for durations for this component (e.g., Time in queue).

    Return sample statistics for durations for this component (e.g., Time in queue).

    Definition Classes
    Component
  76. def elementWise: ElementWiseExtractor[Int, SimActor]
    Definition Classes
    PartialFunction
  77. def empty: Queue[SimActor]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  78. def endsWith[B >: SimActor](that: Iterable[B]): Boolean
    Definition Classes
    SeqOps
  79. def enqueue(elem1: SimActor, elem2: SimActor, elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Queue
  80. def enqueue(elem: SimActor): WaitQueue.this.type
    Definition Classes
    Queue
  81. def enqueueAll(elems: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Queue
  82. def ensureSize(hint: Int): Unit
    Definition Classes
    ArrayDeque
    Annotations
    @inline()
  83. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  85. def exists(p: (SimActor) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  86. def filter(pred: (SimActor) => Boolean): Queue[SimActor]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  87. def filterImpl(pred: (SimActor) => Boolean, isFlipped: Boolean): Queue[SimActor]
    Attributes
    protected[collection]
    Definition Classes
    StrictOptimizedIterableOps
  88. def filterInPlace(p: (SimActor) => Boolean): WaitQueue.this.type
    Definition Classes
    IndexedBuffer
  89. def filterNot(pred: (SimActor) => Boolean): Queue[SimActor]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  90. def find(p: (SimActor) => Boolean): Option[SimActor]
    Definition Classes
    IterableOnceOps
  91. def findLast(p: (SimActor) => Boolean): Option[SimActor]
    Definition Classes
    SeqOps
  92. def flatMap[B](f: (SimActor) => IterableOnce[B]): Queue[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  93. def flatMapInPlace(f: (SimActor) => IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    IndexedBuffer
  94. def flatten[B](implicit toIterableOnce: (SimActor) => IterableOnce[B]): Queue[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  95. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  96. def fold[A1 >: SimActor](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  97. def foldLeft[B](z: B)(op: (B, SimActor) => B): B
    Definition Classes
    IterableOnceOps
  98. def foldRight[B](z: B)(op: (SimActor, B) => B): B
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  99. def forall(p: (SimActor) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  100. def foreach[U](f: (SimActor) => U): Unit
    Definition Classes
    IterableOnceOps
  101. def fromSpecific(coll: IterableOnce[SimActor]): Queue[SimActor]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  102. final def front: SimActor
    Definition Classes
    Queue
    Annotations
    @inline()
  103. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  104. def groupBy[K](f: (SimActor) => K): Map[K, Queue[SimActor]]
    Definition Classes
    IterableOps
  105. def groupMap[K, B](key: (SimActor) => K)(f: (SimActor) => B): Map[K, Queue[B]]
    Definition Classes
    IterableOps
  106. def groupMapReduce[K, B](key: (SimActor) => K)(f: (SimActor) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  107. def grouped(n: Int): Iterator[Queue[SimActor]]
    Definition Classes
    ArrayDequeOps → IterableOps
  108. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  109. def head: SimActor
    Definition Classes
    IndexedSeqOps → IterableOps
  110. def headOption: Option[SimActor]
    Definition Classes
    IndexedSeqOps → IterableOps
  111. val id: Int
    Definition Classes
    Identifiable
  112. def indexOf[B >: SimActor](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  113. def indexOf[B >: SimActor](elem: B, from: Int): Int
    Definition Classes
    SeqOps
  114. def indexOfSlice[B >: SimActor](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  115. def indexOfSlice[B >: SimActor](that: Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  116. def indexWhere(p: (SimActor) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  117. def indexWhere(p: (SimActor) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  118. def indices: Range
    Definition Classes
    SeqOps
  119. def init: Queue[SimActor]
    Definition Classes
    IterableOps
  120. def initComponent(label: String, loc: Array[Double]): Unit

    Initialize this component (all of its 'var's).

    Initialize this component (all of its 'var's).

    label

    the name of this component

    loc

    the location of this component

    Definition Classes
    Component
  121. def initStats(label: String): Unit

    Initialize this component's statistical collectors.

    Initialize this component's statistical collectors. Sample statistics: all Components. Time-persistent statistics: all except Gate, Source and Sink.

    label

    the name of this component

    Definition Classes
    Component
  122. def inits: Iterator[Queue[SimActor]]
    Definition Classes
    IterableOps
  123. def insert(idx: Int, elem: SimActor): Unit
    Definition Classes
    ArrayDeque → Buffer
  124. def insertAll(idx: Int, elems: IterableOnce[SimActor]): Unit
    Definition Classes
    ArrayDeque → Buffer
  125. def intersect[B >: SimActor](that: Seq[B]): Queue[SimActor]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  126. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  127. def isEmpty: Boolean
    Definition Classes
    ArrayDeque → SeqOps → IterableOnceOps
  128. def isFull: Boolean

    Return whether 'this' queue is full.

  129. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  130. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  131. def iterableFactory: SeqFactory[Queue]
    Definition Classes
    Queue → ArrayDeque → IndexedBuffer → IndexedSeq → IndexedSeq → Buffer → Seq → Iterable → Seq → Iterable → IterableOps
  132. def iterator: Iterator[SimActor]
    Definition Classes
    IndexedSeqOps → IterableOnce
  133. def klone(): Queue[SimActor]
    Attributes
    protected
    Definition Classes
    Queue → ArrayDeque → ArrayDequeOps
  134. def knownSize: Int
    Definition Classes
    ArrayDeque → IndexedSeqOps → Buffer → Growable → IterableOnce
  135. def last: SimActor
    Definition Classes
    IndexedSeqOps → IterableOps
  136. def lastIndexOf[B >: SimActor](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  137. def lastIndexOfSlice[B >: SimActor](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  138. def lastIndexOfSlice[B >: SimActor](that: Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  139. def lastIndexWhere(p: (SimActor) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  140. def lastIndexWhere(p: (SimActor) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  141. def lastOption: Option[SimActor]
    Definition Classes
    IterableOps
  142. def lazyZip[B](that: Iterable[B]): LazyZip2[SimActor, B, WaitQueue.this.type]
    Definition Classes
    Iterable
  143. def length: Int
    Definition Classes
    ArrayDeque → SeqOps
  144. final def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  145. final def lengthCompare(len: Int): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  146. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  147. def lift: (Int) => Option[SimActor]
    Definition Classes
    PartialFunction
  148. def map[B](f: (SimActor) => B): Queue[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  149. def mapInPlace(f: (SimActor) => SimActor): WaitQueue.this.type
    Definition Classes
    IndexedSeqOps
  150. def max[B >: SimActor](implicit ord: Ordering[B]): SimActor
    Definition Classes
    IterableOnceOps
  151. def maxBy[B](f: (SimActor) => B)(implicit cmp: Ordering[B]): SimActor
    Definition Classes
    IterableOnceOps
  152. def maxByOption[B](f: (SimActor) => B)(implicit cmp: Ordering[B]): Option[SimActor]
    Definition Classes
    IterableOnceOps
  153. def maxOption[B >: SimActor](implicit ord: Ordering[B]): Option[SimActor]
    Definition Classes
    IterableOnceOps
  154. def me: String
    Definition Classes
    Identifiable
  155. def min[B >: SimActor](implicit ord: Ordering[B]): SimActor
    Definition Classes
    IterableOnceOps
  156. def minBy[B](f: (SimActor) => B)(implicit cmp: Ordering[B]): SimActor
    Definition Classes
    IterableOnceOps
  157. def minByOption[B](f: (SimActor) => B)(implicit cmp: Ordering[B]): Option[SimActor]
    Definition Classes
    IterableOnceOps
  158. def minOption[B >: SimActor](implicit ord: Ordering[B]): Option[SimActor]
    Definition Classes
    IterableOnceOps
  159. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  160. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  161. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  162. def name: String
    Definition Classes
    Identifiable
  163. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  164. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  165. def newSpecificBuilder: Builder[SimActor, Queue[SimActor]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  166. def noWait(): Unit

    Do not wait in the queue and record zero waiting time.

    Do not wait in the queue and record zero waiting time. Call this method to get average waiting time for all actors. If you just want the waiting time for those who wait, do not call this method.

  167. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  168. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  169. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  170. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  171. def ofArray(array: Array[AnyRef], end: Int): Queue[SimActor]
    Attributes
    protected
    Definition Classes
    Queue → ArrayDeque → ArrayDequeOps
  172. def orElse[A1 <: Int, B1 >: SimActor](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  173. def padTo[B >: SimActor](len: Int, elem: B): Queue[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  174. def padToInPlace(len: Int, elem: SimActor): WaitQueue.this.type
    Definition Classes
    Buffer
  175. def partition(p: (SimActor) => Boolean): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  176. def partitionMap[A1, A2](f: (SimActor) => Either[A1, A2]): (Queue[A1], Queue[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  177. def patch[B >: SimActor](from: Int, other: IterableOnce[B], replaced: Int): Queue[B]
    Definition Classes
    SeqOps
  178. def patchInPlace(from: Int, patch: IterableOnce[SimActor], replaced: Int): WaitQueue.this.type
    Definition Classes
    IndexedBuffer → Buffer
  179. def permutations: Iterator[Queue[SimActor]]
    Definition Classes
    SeqOps
  180. def persistentStat: TimeStatistic

    Return time persistent statistics for value for this component (e.g.

    Return time persistent statistics for value for this component (e.g. Number in queue).

    Definition Classes
    Component
  181. def prepend(elem: SimActor): WaitQueue.this.type
    Definition Classes
    ArrayDeque → Buffer
  182. def prependAll(elems: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    ArrayDeque → Buffer
  183. def prepended[B >: SimActor](elem: B): Queue[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  184. def prependedAll[B >: SimActor](prefix: IterableOnce[B]): Queue[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  185. def product[B >: SimActor](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  186. def reduce[B >: SimActor](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  187. def reduceLeft[B >: SimActor](op: (B, SimActor) => B): B
    Definition Classes
    IterableOnceOps
  188. def reduceLeftOption[B >: SimActor](op: (B, SimActor) => B): Option[B]
    Definition Classes
    IterableOnceOps
  189. def reduceOption[B >: SimActor](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  190. def reduceRight[B >: SimActor](op: (SimActor, B) => B): B
    Definition Classes
    IterableOnceOps
  191. def reduceRightOption[B >: SimActor](op: (SimActor, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  192. def remove(idx: Int): SimActor
    Definition Classes
    ArrayDeque → Buffer
  193. def remove(idx: Int, count: Int): Unit
    Definition Classes
    ArrayDeque → Buffer
  194. def removeAll(p: (SimActor) => Boolean): Seq[SimActor]
    Definition Classes
    ArrayDeque
  195. def removeAll(): Seq[SimActor]
    Definition Classes
    ArrayDeque
  196. def removeAllReverse(): Seq[SimActor]
    Definition Classes
    ArrayDeque
  197. def removeFirst(p: (SimActor) => Boolean, from: Int): Option[SimActor]
    Definition Classes
    ArrayDeque
  198. def removeHead(resizeInternalRepr: Boolean): SimActor
    Definition Classes
    ArrayDeque
  199. def removeHeadOption(resizeInternalRepr: Boolean): Option[SimActor]
    Definition Classes
    ArrayDeque
  200. def removeHeadWhile(f: (SimActor) => Boolean): Seq[SimActor]
    Definition Classes
    ArrayDeque
  201. def removeLast(resizeInternalRepr: Boolean): SimActor
    Definition Classes
    ArrayDeque
  202. def removeLastOption(resizeInternalRepr: Boolean): Option[SimActor]
    Definition Classes
    ArrayDeque
  203. def removeLastWhile(f: (SimActor) => Boolean): Seq[SimActor]
    Definition Classes
    ArrayDeque
  204. final def requireBounds(idx: Int, until: Int): Unit
    Attributes
    protected
    Definition Classes
    ArrayDequeOps
    Annotations
    @inline()
  205. def reverse: Queue[SimActor]
    Definition Classes
    ArrayDequeOps → SeqOps
  206. def reverseIterator: Iterator[SimActor]
    Definition Classes
    IndexedSeqOps → SeqOps
  207. def reversed: Iterable[SimActor]
    Attributes
    protected
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  208. def runWith[U](action: (SimActor) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  209. def sameElements[B >: SimActor](that: IterableOnce[B]): Boolean
    Definition Classes
    SeqOps
  210. def scan[B >: SimActor](z: B)(op: (B, B) => B): Queue[B]
    Definition Classes
    IterableOps
  211. def scanLeft[B](z: B)(op: (B, SimActor) => B): Queue[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  212. def scanRight[B](z: B)(op: (SimActor, B) => B): Queue[B]
    Definition Classes
    IterableOps
  213. def search[B >: SimActor](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  214. def search[B >: SimActor](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  215. def segmentLength(p: (SimActor) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  216. final def segmentLength(p: (SimActor) => Boolean): Int
    Definition Classes
    SeqOps
  217. def simType: String
    Definition Classes
    Identifiable
  218. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  219. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  220. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  221. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  222. def slice(from: Int, until: Int): Queue[SimActor]
    Definition Classes
    ArrayDequeOps → IterableOps → IterableOnceOps
  223. def sliceInPlace(start: Int, end: Int): WaitQueue.this.type
    Definition Classes
    Buffer
  224. def sliding(window: Int, step: Int): Iterator[Queue[SimActor]]
    Definition Classes
    ArrayDequeOps → IterableOps
  225. def sliding(size: Int): Iterator[Queue[SimActor]]
    Definition Classes
    IterableOps
  226. def sortBy[B](f: (SimActor) => B)(implicit ord: Ordering[B]): Queue[SimActor]
    Definition Classes
    SeqOps
  227. def sortInPlace[B >: SimActor]()(implicit ord: Ordering[B]): WaitQueue.this.type
    Definition Classes
    IndexedSeqOps
  228. def sortInPlaceBy[B](f: (SimActor) => B)(implicit ord: Ordering[B]): WaitQueue.this.type
    Definition Classes
    IndexedSeqOps
  229. def sortInPlaceWith(lt: (SimActor, SimActor) => Boolean): WaitQueue.this.type
    Definition Classes
    IndexedSeqOps
  230. def sortWith(lt: (SimActor, SimActor) => Boolean): Queue[SimActor]
    Definition Classes
    SeqOps
  231. def sorted[B >: SimActor](implicit ord: Ordering[B]): Queue[SimActor]
    Definition Classes
    SeqOps
  232. def span(p: (SimActor) => Boolean): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  233. def splitAt(n: Int): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    IterableOps → IterableOnceOps
  234. def start_+(idx: Int): Int
    Attributes
    protected
    Definition Classes
    ArrayDeque → ArrayDequeOps
    Annotations
    @inline()
  235. def startsWith[B >: SimActor](that: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  236. def stepper[S <: Stepper[_]](implicit shape: StepperShape[SimActor, S]): S with EfficientSplit
    Definition Classes
    ArrayDeque → IndexedSeqOps → IterableOnce
  237. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[SimActor, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  238. final def strictOptimizedConcat[B >: SimActor, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  239. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (SimActor) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  240. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (SimActor) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  241. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (SimActor) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  242. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(SimActor, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  243. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Queue → ArrayDeque → IndexedSeq → Buffer → Seq → Iterable
  244. val subpart: ListBuffer[Component]

    List of subparts of the Component (empty for atomic components, nonempty for composites)

    List of subparts of the Component (empty for atomic components, nonempty for composites)

    Definition Classes
    Component
  245. def subtractAll(xs: IterableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Shrinkable
  246. def subtractOne(elem: SimActor): WaitQueue.this.type
    Definition Classes
    ArrayDeque → Buffer → Shrinkable
  247. def sum[B >: SimActor](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  248. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  249. def tail: Queue[SimActor]
    Definition Classes
    IterableOps
  250. def tails: Iterator[Queue[SimActor]]
    Definition Classes
    IterableOps
  251. def take(n: Int): Queue[SimActor]
    Definition Classes
    IndexedSeqOps → IterableOps → IterableOnceOps
  252. def takeInPlace(n: Int): WaitQueue.this.type
    Definition Classes
    Buffer
  253. def takeRight(n: Int): Queue[SimActor]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  254. def takeRightInPlace(n: Int): WaitQueue.this.type
    Definition Classes
    Buffer
  255. def takeWhile(p: (SimActor) => Boolean): Queue[SimActor]
    Definition Classes
    IterableOps → IterableOnceOps
  256. def takeWhileInPlace(p: (SimActor) => Boolean): WaitQueue.this.type
    Definition Classes
    Buffer
  257. def tally(duration: Double): Unit

    Tally the duration (e.g., waiting time) of an activity or delay.

    Tally the duration (e.g., waiting time) of an activity or delay.

    duration

    the time duration

    Definition Classes
    Component
  258. def tapEach[U](f: (SimActor) => U): Queue[SimActor]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  259. def to[C1](factory: Factory[SimActor, C1]): C1
    Definition Classes
    IterableOnceOps
  260. def toArray[B >: SimActor](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    ArrayDeque → IterableOnceOps
  261. final def toBuffer[B >: SimActor]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  262. def toIndexedSeq: IndexedSeq[SimActor]
    Definition Classes
    IterableOnceOps
  263. final def toIterable: WaitQueue.this.type
    Definition Classes
    Iterable → IterableOps
  264. def toList: List[SimActor]
    Definition Classes
    IterableOnceOps
  265. def toMap[K, V](implicit ev: <:<[SimActor, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  266. def toSeq: Seq[SimActor]
    Definition Classes
    IterableOnceOps
  267. def toSet[B >: SimActor]: Set[B]
    Definition Classes
    IterableOnceOps
  268. def toString(): String
    Definition Classes
    Seq → Function1 → Iterable → AnyRef → Any
  269. def toVector: Vector[SimActor]
    Definition Classes
    IterableOnceOps
  270. def transpose[B](implicit asIterable: (SimActor) => Iterable[B]): Queue[Queue[B]]
    Definition Classes
    IterableOps
  271. def trimToSize(): Unit
    Definition Classes
    ArrayDeque
  272. def unapply(a: Int): Option[SimActor]
    Definition Classes
    PartialFunction
  273. def unzip[A1, A2](implicit asPair: (SimActor) => (A1, A2)): (Queue[A1], Queue[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  274. def unzip3[A1, A2, A3](implicit asTriple: (SimActor) => (A1, A2, A3)): (Queue[A1], Queue[A2], Queue[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  275. def update(idx: Int, elem: SimActor): Unit
    Definition Classes
    ArrayDeque → SeqOps
  276. def updated[B >: SimActor](index: Int, elem: B): Queue[B]
    Definition Classes
    SeqOps
  277. def view: IndexedSeqView[SimActor]
    Definition Classes
    IndexedSeqOps → SeqOps → IterableOps
  278. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  279. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  280. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  281. def waitIn(): Boolean

    Wait in the queue, recording the waiting time.

    Wait in the queue, recording the waiting time. Return whether the entity was able to actually join the queue or was barred.

  282. def withFilter(p: (SimActor) => Boolean): WithFilter[SimActor, [_]Queue[_]]
    Definition Classes
    IterableOps
  283. def writeReplace(): AnyRef
    Attributes
    protected[this]
    Definition Classes
    DefaultSerializable
  284. def zip[B](that: IterableOnce[B]): Queue[(SimActor, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  285. def zipAll[A1 >: SimActor, B](that: Iterable[B], thisElem: A1, thatElem: B): Queue[(A1, B)]
    Definition Classes
    IterableOps
  286. def zipWithIndex: Queue[(SimActor, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. final def +=(elem1: SimActor, elem2: SimActor, elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Growable
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use ++= aka addAll instead of varargs +=; infix operations with an operand of multiple args will be deprecated

  2. def -=(elem1: SimActor, elem2: SimActor, elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Shrinkable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use --= aka subtractAll instead of varargs -=; infix operations with an operand of multiple args will be deprecated

  3. final def /:[B](z: B)(op: (B, SimActor) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  4. final def :\[B](z: B)(op: (SimActor, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  5. def aggregate[B](z: => B)(seqop: (B, SimActor) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  6. final def append(elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use appendAll instead

  7. def companion: IterableFactory[[_]Queue[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  8. final def copyToBuffer[B >: SimActor](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  10. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  11. final def prefixLength(p: (SimActor) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  12. final def prepend(elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Buffer
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use prependAll instead

  13. final def repr: Queue[SimActor]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  14. def reverseMap[B](f: (SimActor) => B): Queue[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  15. def seq: WaitQueue.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  16. final def toIterator: Iterator[SimActor]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  17. final def toStream: Stream[SimActor]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  18. final def toTraversable: Traversable[SimActor]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  19. final def transform(f: (SimActor) => SimActor): WaitQueue.this.type
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use mapInPlace on an IndexedSeq instead

  20. def trimEnd(n: Int): Unit
    Definition Classes
    Buffer
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.4) use dropRightInPlace instead

  21. def trimStart(n: Int): Unit
    Definition Classes
    Buffer
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.4) use dropInPlace instead

  22. final def union[B >: SimActor](that: Seq[B]): Queue[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  23. def view(from: Int, until: Int): IndexedSeqView[SimActor]
    Definition Classes
    IndexedSeqOps → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from Component

Inherited from Locatable

Inherited from Identifiable

Inherited from Error

Inherited from Queue[SimActor]

Inherited from ArrayDeque[SimActor]

Inherited from DefaultSerializable

Inherited from Serializable

Inherited from ArrayDequeOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from StrictOptimizedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from StrictOptimizedIterableOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from IndexedBuffer[SimActor]

Inherited from IndexedSeq[SimActor]

Inherited from IndexedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from IndexedSeq[SimActor]

Inherited from IndexedSeqOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from AbstractBuffer[SimActor]

Inherited from Buffer[SimActor]

Inherited from Shrinkable[SimActor]

Inherited from Growable[SimActor]

Inherited from Clearable

Inherited from AbstractSeq[SimActor]

Inherited from Seq[SimActor]

Inherited from SeqOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from Cloneable[Queue[SimActor]]

Inherited from Cloneable

Inherited from Iterable[SimActor]

Inherited from AbstractSeq[SimActor]

Inherited from Seq[SimActor]

Inherited from Equals

Inherited from SeqOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from PartialFunction[Int, SimActor]

Inherited from (Int) => SimActor

Inherited from AbstractIterable[SimActor]

Inherited from Iterable[SimActor]

Inherited from IterableFactoryDefaults[SimActor, [x]Queue[x]]

Inherited from IterableOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from IterableOnceOps[SimActor, [_]Queue[_], Queue[SimActor]]

Inherited from IterableOnce[SimActor]

Inherited from AnyRef

Inherited from Any

Ungrouped