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], MutableList[SimActor], Serializable, Serializable, Builder[SimActor, MutableList[SimActor]], Growable[SimActor], Clearable, LinearSeqOptimized[SimActor, Queue[SimActor]], LinearSeq[SimActor], LinearSeq[SimActor], LinearSeqLike[SimActor, Queue[SimActor]], AbstractSeq[SimActor], Seq[SimActor], SeqLike[SimActor, Seq[SimActor]], Cloneable[Queue[SimActor]], Cloneable, Cloneable, Iterable[SimActor], Traversable[SimActor], Mutable, AbstractSeq[SimActor], Seq[SimActor], SeqLike[SimActor, Queue[SimActor]], GenSeq[SimActor], GenSeqLike[SimActor, Queue[SimActor]], PartialFunction[Int, SimActor], (Int) ⇒ SimActor, AbstractIterable[SimActor], Iterable[SimActor], IterableLike[SimActor, Queue[SimActor]], Equals, GenIterable[SimActor], GenIterableLike[SimActor, Queue[SimActor]], AbstractTraversable[SimActor], Traversable[SimActor], GenTraversable[SimActor], GenericTraversableTemplate[SimActor, Queue], TraversableLike[SimActor, Queue[SimActor]], GenTraversableLike[SimActor, Queue[SimActor]], Parallelizable[SimActor, ParSeq[SimActor]], TraversableOnce[SimActor], GenTraversableOnce[SimActor], FilterMonadic[SimActor, Queue[SimActor]], HasNewBuilder[SimActor, Queue[SimActor]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WaitQueue
  2. Component
  3. Locatable
  4. Identifiable
  5. Error
  6. Queue
  7. MutableList
  8. Serializable
  9. Serializable
  10. Builder
  11. Growable
  12. Clearable
  13. LinearSeqOptimized
  14. LinearSeq
  15. LinearSeq
  16. LinearSeqLike
  17. AbstractSeq
  18. Seq
  19. SeqLike
  20. Cloneable
  21. Cloneable
  22. Cloneable
  23. Iterable
  24. Traversable
  25. Mutable
  26. AbstractSeq
  27. Seq
  28. SeqLike
  29. GenSeq
  30. GenSeqLike
  31. PartialFunction
  32. Function1
  33. AbstractIterable
  34. Iterable
  35. IterableLike
  36. Equals
  37. GenIterable
  38. GenIterableLike
  39. AbstractTraversable
  40. Traversable
  41. GenTraversable
  42. GenericTraversableTemplate
  43. TraversableLike
  44. GenTraversableLike
  45. Parallelizable
  46. TraversableOnce
  47. GenTraversableOnce
  48. FilterMonadic
  49. HasNewBuilder
  50. AnyRef
  51. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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)

Type Members

  1. type Self = Queue[SimActor]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: SimActor, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: SimActor, That](that: Traversable[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike
  5. def ++:[B >: SimActor, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike
  6. def ++=(xs: TraversableOnce[SimActor]): WaitQueue.this.type
    Definition Classes
    Growable
  7. def +:[B >: SimActor, That](elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  8. def +=(elem: SimActor): WaitQueue.this.type
    Definition Classes
    MutableList → Builder → Growable
  9. def +=(elem1: SimActor, elem2: SimActor, elems: SimActor*): WaitQueue.this.type
    Definition Classes
    Growable
  10. def +=:(elem: SimActor): WaitQueue.this.type
    Definition Classes
    MutableList
  11. def :+[B >: SimActor, That](elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. val DIAM: Double

    Diameter of a token (for animating entities)

    Diameter of a token (for animating entities)

    Definition Classes
    Component
  14. val RAD: Double

    Radius of a token (for animating entities)

    Radius of a token (for animating entities)

    Definition Classes
    Component
  15. 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
  16. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  17. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  18. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  19. def aggregate(): Unit

    Aggregate the statistics of this component's subparts.

    Aggregate the statistics of this component's subparts.

    Definition Classes
    Component
  20. def aggregate[B](z: ⇒ B)(seqop: (B, SimActor) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def andThen[C](k: (SimActor) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  22. def appendElem(elem: SimActor): Unit
    Attributes
    protected
    Definition Classes
    MutableList
  23. def apply(n: Int): SimActor
    Definition Classes
    MutableList → LinearSeqOptimized → SeqLike → GenSeqLike → Function1
  24. def applyOrElse[A1 <: Int, B1 >: SimActor](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def at: Array[Double]
    Definition Classes
    Locatable
  27. def at_=(at: Array[Double]): Unit
    Definition Classes
    Locatable
  28. def barred: Int

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

  29. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  30. def clear(): Unit
    Definition Classes
    MutableList → Builder → Growable → Clearable
  31. def clone(): Queue[SimActor]
    Definition Classes
    Queue → MutableList → Cloneable → AnyRef
  32. def collect[B, That](pf: PartialFunction[SimActor, B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  33. def collectFirst[B](pf: PartialFunction[SimActor, B]): Option[B]
    Definition Classes
    TraversableOnce
  34. def combinations(n: Int): Iterator[Queue[SimActor]]
    Definition Classes
    SeqLike
  35. def companion: GenericCompanion[Queue]
    Definition Classes
    Queue → MutableList → LinearSeq → LinearSeq → Seq → Iterable → Traversable → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  36. def compose[A](g: (A) ⇒ Int): (A) ⇒ SimActor
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  37. 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
  38. def contains[A1 >: SimActor](elem: A1): Boolean
    Definition Classes
    LinearSeqOptimized → SeqLike
  39. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  40. def copyToArray[B >: SimActor](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def copyToArray[B >: SimActor](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def copyToArray[B >: SimActor](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  43. def copyToBuffer[B >: SimActor](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  44. final def corresponds[B](that: GenSeq[B])(p: (SimActor, B) ⇒ Boolean): Boolean
    Definition Classes
    LinearSeqLike → SeqLike → GenSeqLike
    Annotations
    @tailrec()
  45. def count(p: (SimActor) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def dequeue(): SimActor
    Definition Classes
    Queue
  47. def dequeueAll(p: (SimActor) ⇒ Boolean): Seq[SimActor]
    Definition Classes
    Queue
  48. def dequeueFirst(p: (SimActor) ⇒ Boolean): Option[SimActor]
    Definition Classes
    Queue
  49. def diff[B >: SimActor](that: GenSeq[B]): Queue[SimActor]
    Definition Classes
    SeqLike → GenSeqLike
  50. 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
  51. 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
  52. def display(): Unit

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

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

    Definition Classes
    WaitQueueComponent
  53. def distinct: Queue[SimActor]
    Definition Classes
    SeqLike → GenSeqLike
  54. def drop(n: Int): Queue[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  55. def dropRight(n: Int): Queue[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike
  56. def dropWhile(p: (SimActor) ⇒ Boolean): Queue[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  57. 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
  58. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  59. def enqueue(elems: SimActor*): Unit
    Definition Classes
    Queue
  60. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. def equals(that: Any): Boolean
    Definition Classes
    Identifiable → AnyRef → Any
  62. def exists(p: (SimActor) ⇒ Boolean): Boolean
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  63. def filter(p: (SimActor) ⇒ Boolean): Queue[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  64. def filterNot(p: (SimActor) ⇒ Boolean): Queue[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  65. def find(p: (SimActor) ⇒ Boolean): Option[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  66. var first0: LinkedList[SimActor]
    Attributes
    protected
    Definition Classes
    MutableList
  67. def flatMap[B, That](f: (SimActor) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  68. def flatten[B](implicit asTraversable: (SimActor) ⇒ GenTraversableOnce[B]): Queue[B]
    Definition Classes
    GenericTraversableTemplate
  69. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  70. def fold[A1 >: SimActor](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def foldLeft[B](z: B)(op: (B, SimActor) ⇒ B): B
    Definition Classes
    LinearSeqOptimized → TraversableOnce → GenTraversableOnce
  72. def foldRight[B](z: B)(op: (SimActor, B) ⇒ B): B
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  73. def forall(p: (SimActor) ⇒ Boolean): Boolean
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  74. def foreach[U](f: (SimActor) ⇒ U): Unit
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  75. def front: SimActor
    Definition Classes
    Queue
  76. def genericBuilder[B]: Builder[B, Queue[B]]
    Definition Classes
    GenericTraversableTemplate
  77. def get(n: Int): Option[SimActor]
    Definition Classes
    MutableList
  78. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  79. def groupBy[K](f: (SimActor) ⇒ K): Map[K, Queue[SimActor]]
    Definition Classes
    TraversableLike → GenTraversableLike
  80. def grouped(size: Int): Iterator[Queue[SimActor]]
    Definition Classes
    IterableLike
  81. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  82. def hashCode(): Int
    Definition Classes
    Identifiable → AnyRef → Any
  83. def head: SimActor
    Definition Classes
    MutableList → LinearSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  84. def headOption: Option[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  85. val id: Int
    Definition Classes
    Identifiable
  86. def indexOf[B >: SimActor](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  87. def indexOf[B >: SimActor](elem: B): Int
    Definition Classes
    GenSeqLike
  88. def indexOfSlice[B >: SimActor](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  89. def indexOfSlice[B >: SimActor](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  90. def indexWhere(p: (SimActor) ⇒ Boolean, from: Int): Int
    Definition Classes
    LinearSeqOptimized → SeqLike → GenSeqLike
  91. def indexWhere(p: (SimActor) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  92. def indices: Range
    Definition Classes
    SeqLike
  93. def init: Queue[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  94. 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
  95. 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
  96. def inits: Iterator[Queue[SimActor]]
    Definition Classes
    TraversableLike
  97. def intersect[B >: SimActor](that: GenSeq[B]): Queue[SimActor]
    Definition Classes
    SeqLike → GenSeqLike
  98. def isDefinedAt(x: Int): Boolean
    Definition Classes
    LinearSeqOptimized → GenSeqLike
  99. def isEmpty: Boolean
    Definition Classes
    MutableList → LinearSeqOptimized → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  100. def isFull: Boolean

    Return whether 'this' queue is full.

  101. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  102. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  103. def iterator: Iterator[SimActor]
    Definition Classes
    MutableList → LinearSeqLike → IterableLike → GenIterableLike
  104. def last: SimActor
    Definition Classes
    MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
  105. var last0: LinkedList[SimActor]
    Attributes
    protected
    Definition Classes
    MutableList
  106. def lastIndexOf[B >: SimActor](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  107. def lastIndexOf[B >: SimActor](elem: B): Int
    Definition Classes
    GenSeqLike
  108. def lastIndexOfSlice[B >: SimActor](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  109. def lastIndexOfSlice[B >: SimActor](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  110. def lastIndexWhere(p: (SimActor) ⇒ Boolean, end: Int): Int
    Definition Classes
    LinearSeqOptimized → SeqLike → GenSeqLike
  111. def lastIndexWhere(p: (SimActor) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  112. def lastOption: Option[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  113. var len: Int
    Attributes
    protected
    Definition Classes
    MutableList
  114. def length: Int
    Definition Classes
    MutableList → LinearSeqOptimized → SeqLike → GenSeqLike
  115. def lengthCompare(len: Int): Int
    Definition Classes
    LinearSeqOptimized → SeqLike
  116. def lift: (Int) ⇒ Option[SimActor]
    Definition Classes
    PartialFunction
  117. def map[B, That](f: (SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  118. def mapResult[NewTo](f: (MutableList[SimActor]) ⇒ NewTo): Builder[SimActor, NewTo]
    Definition Classes
    Builder
  119. def max[B >: SimActor](implicit cmp: Ordering[B]): SimActor
    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. def maxBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def me: String
    Definition Classes
    Identifiable
  122. def min[B >: SimActor](implicit cmp: Ordering[B]): SimActor
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def minBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor
    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def name: String
    Definition Classes
    Identifiable
  128. def name_=(name: String): Unit
    Definition Classes
    Identifiable
  129. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  130. def newBuilder: Builder[SimActor, Queue[SimActor]]
    Attributes
    protected[this]
    Definition Classes
    Queue → MutableList → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  131. 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.

  132. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  133. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  134. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  135. def orElse[A1 <: Int, B1 >: SimActor](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  136. def padTo[B >: SimActor, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  137. def par: ParSeq[SimActor]
    Definition Classes
    Parallelizable
  138. def parCombiner: Combiner[SimActor, ParSeq[SimActor]]
    Attributes
    protected[this]
    Definition Classes
    SeqLike → SeqLike → TraversableLike → Parallelizable
  139. def partition(p: (SimActor) ⇒ Boolean): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    TraversableLike → GenTraversableLike
  140. def patch[B >: SimActor, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  141. def permutations: Iterator[Queue[SimActor]]
    Definition Classes
    SeqLike
  142. 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
  143. def prefixLength(p: (SimActor) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  144. def prependElem(elem: SimActor): Unit
    Attributes
    protected
    Definition Classes
    MutableList
  145. def product[B >: SimActor](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  146. def reduce[A1 >: SimActor](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def reduceLeft[B >: SimActor](op: (B, SimActor) ⇒ B): B
    Definition Classes
    LinearSeqOptimized → TraversableOnce
  148. def reduceLeftOption[B >: SimActor](op: (B, SimActor) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  149. def reduceOption[A1 >: SimActor](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  150. def reduceRight[B >: SimActor](op: (SimActor, B) ⇒ B): B
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  151. def reduceRightOption[B >: SimActor](op: (SimActor, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  152. def repr: Queue[SimActor]
    Definition Classes
    TraversableLike → GenTraversableLike
  153. def result(): MutableList[SimActor]
    Definition Classes
    MutableList → Builder
  154. def reverse: Queue[SimActor]
    Definition Classes
    SeqLike → GenSeqLike
  155. def reverseIterator: Iterator[SimActor]
    Definition Classes
    SeqLike
  156. def reverseMap[B, That](f: (SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  157. def reversed: List[SimActor]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  158. def runWith[U](action: (SimActor) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  159. def sameElements[B >: SimActor](that: GenIterable[B]): Boolean
    Definition Classes
    LinearSeqOptimized → IterableLike → GenIterableLike
  160. def scan[B >: SimActor, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  161. def scanLeft[B, That](z: B)(op: (B, SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  162. def scanRight[B, That](z: B)(op: (SimActor, B) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  163. def segmentLength(p: (SimActor) ⇒ Boolean, from: Int): Int
    Definition Classes
    LinearSeqOptimized → SeqLike → GenSeqLike
  164. def seq: LinearSeq[SimActor]
    Definition Classes
    LinearSeq → LinearSeq → LinearSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  165. def simType: String
    Definition Classes
    Identifiable
  166. def size: Int
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  167. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
    Definition Classes
    Builder
  168. def sizeHint(coll: TraversableLike[_, _]): Unit
    Definition Classes
    Builder
  169. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  170. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
    Definition Classes
    Builder
  171. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    GenTraversableOnce
  172. def slice(from: Int, until: Int): Queue[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  173. def sliding(size: Int, step: Int): Iterator[Queue[SimActor]]
    Definition Classes
    IterableLike
  174. def sliding(size: Int): Iterator[Queue[SimActor]]
    Definition Classes
    IterableLike
  175. def sortBy[B](f: (SimActor) ⇒ B)(implicit ord: Ordering[B]): Queue[SimActor]
    Definition Classes
    SeqLike
  176. def sortWith(lt: (SimActor, SimActor) ⇒ Boolean): Queue[SimActor]
    Definition Classes
    SeqLike
  177. def sorted[B >: SimActor](implicit ord: Ordering[B]): Queue[SimActor]
    Definition Classes
    SeqLike
  178. def span(p: (SimActor) ⇒ Boolean): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    LinearSeqOptimized → TraversableLike → GenTraversableLike
  179. def splitAt(n: Int): (Queue[SimActor], Queue[SimActor])
    Definition Classes
    TraversableLike → GenTraversableLike
  180. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  181. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  182. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  183. 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
  184. def sum[B >: SimActor](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  185. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  186. def tail: Queue[SimActor]
    Definition Classes
    Queue → MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
  187. final def tailImpl(tl: MutableList[SimActor]): Unit
    Attributes
    protected
    Definition Classes
    MutableList
  188. def tails: Iterator[Queue[SimActor]]
    Definition Classes
    LinearSeqOptimized → TraversableLike
  189. def take(n: Int): Queue[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  190. def takeRight(n: Int): Queue[SimActor]
    Definition Classes
    IterableLike
  191. def takeWhile(p: (SimActor) ⇒ Boolean): Queue[SimActor]
    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  192. 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
  193. def thisCollection: LinearSeq[SimActor]
    Attributes
    protected[this]
    Definition Classes
    LinearSeqLike → SeqLike → IterableLike → TraversableLike
  194. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, SimActor, Col[SimActor]]): Col[SimActor]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  195. def toArray[B >: SimActor](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  196. def toBuffer[B >: SimActor]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  197. def toCollection(repr: Queue[SimActor]): LinearSeq[SimActor]
    Attributes
    protected[this]
    Definition Classes
    LinearSeqLike → SeqLike → IterableLike → TraversableLike
  198. def toIndexedSeq: IndexedSeq[SimActor]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  199. def toIterable: Iterable[SimActor]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  200. def toIterator: Iterator[SimActor]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  201. def toList: List[SimActor]
    Definition Classes
    MutableList → TraversableOnce → GenTraversableOnce
  202. def toMap[T, U](implicit ev: <:<[SimActor, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  203. def toQueue: Queue[SimActor]
    Definition Classes
    MutableList
  204. def toSeq: Seq[SimActor]
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  205. def toSet[B >: SimActor]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  206. def toStream: Stream[SimActor]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  207. def toString(): String
    Definition Classes
    SeqLike → TraversableLike → Any
  208. def toTraversable: Traversable[SimActor]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  209. def toVector: Vector[SimActor]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  210. def transform(f: (SimActor) ⇒ SimActor): WaitQueue.this.type
    Definition Classes
    SeqLike
  211. def transpose[B](implicit asTraversable: (SimActor) ⇒ GenTraversableOnce[B]): Queue[Queue[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  212. def union[B >: SimActor, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  213. def unzip[A1, A2](implicit asPair: (SimActor) ⇒ (A1, A2)): (Queue[A1], Queue[A2])
    Definition Classes
    GenericTraversableTemplate
  214. def unzip3[A1, A2, A3](implicit asTriple: (SimActor) ⇒ (A1, A2, A3)): (Queue[A1], Queue[A2], Queue[A3])
    Definition Classes
    GenericTraversableTemplate
  215. def update(n: Int, x: SimActor): Unit
    Definition Classes
    MutableList → SeqLike
  216. def updated[B >: SimActor, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  217. def view(from: Int, until: Int): SeqView[SimActor, Queue[SimActor]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  218. def view: SeqView[SimActor, Queue[SimActor]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  219. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  220. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  221. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  222. 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.

  223. def withFilter(p: (SimActor) ⇒ Boolean): FilterMonadic[SimActor, Queue[SimActor]]
    Definition Classes
    TraversableLike → FilterMonadic
  224. def zip[A1 >: SimActor, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Queue[SimActor], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  225. def zipAll[B, A1 >: SimActor, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Queue[SimActor], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  226. def zipWithIndex[A1 >: SimActor, That](implicit bf: CanBuildFrom[Queue[SimActor], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, SimActor) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: (SimActor, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

  3. def extractFirst(start: LinkedList[SimActor], p: (SimActor) ⇒ Boolean): Option[LinkedList[SimActor]]
    Definition Classes
    Queue
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) extractFirst inappropriately exposes implementation details. Use dequeue or dequeueAll.

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Component

Inherited from Locatable

Inherited from Identifiable

Inherited from Error

Inherited from Queue[SimActor]

Inherited from MutableList[SimActor]

Inherited from Serializable

Inherited from Serializable

Inherited from Builder[SimActor, MutableList[SimActor]]

Inherited from Growable[SimActor]

Inherited from Clearable

Inherited from LinearSeqOptimized[SimActor, Queue[SimActor]]

Inherited from LinearSeq[SimActor]

Inherited from LinearSeq[SimActor]

Inherited from LinearSeqLike[SimActor, Queue[SimActor]]

Inherited from AbstractSeq[SimActor]

Inherited from Seq[SimActor]

Inherited from SeqLike[SimActor, Seq[SimActor]]

Inherited from Cloneable[Queue[SimActor]]

Inherited from Cloneable

Inherited from Cloneable

Inherited from Iterable[SimActor]

Inherited from Traversable[SimActor]

Inherited from Mutable

Inherited from AbstractSeq[SimActor]

Inherited from Seq[SimActor]

Inherited from SeqLike[SimActor, Queue[SimActor]]

Inherited from GenSeq[SimActor]

Inherited from GenSeqLike[SimActor, Queue[SimActor]]

Inherited from PartialFunction[Int, SimActor]

Inherited from (Int) ⇒ SimActor

Inherited from AbstractIterable[SimActor]

Inherited from Iterable[SimActor]

Inherited from IterableLike[SimActor, Queue[SimActor]]

Inherited from Equals

Inherited from GenIterable[SimActor]

Inherited from GenIterableLike[SimActor, Queue[SimActor]]

Inherited from AbstractTraversable[SimActor]

Inherited from Traversable[SimActor]

Inherited from GenTraversable[SimActor]

Inherited from GenericTraversableTemplate[SimActor, Queue]

Inherited from TraversableLike[SimActor, Queue[SimActor]]

Inherited from GenTraversableLike[SimActor, Queue[SimActor]]

Inherited from Parallelizable[SimActor, ParSeq[SimActor]]

Inherited from TraversableOnce[SimActor]

Inherited from GenTraversableOnce[SimActor]

Inherited from FilterMonadic[SimActor, Queue[SimActor]]

Inherited from HasNewBuilder[SimActor, Queue[SimActor]]

Inherited from AnyRef

Inherited from Any

Ungrouped