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](z: B)(op: (B, SimActor) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. def :+[B >: SimActor, That](elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  13. def :\[B](z: B)(op: (SimActor, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  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 addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  19. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  20. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  21. def aggregate(): Unit

    Aggregate the statistics of this component's subparts.

    Aggregate the statistics of this component's subparts.

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

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

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

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

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

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

    Return whether 'this' queue is full.

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

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

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

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

  226. def withFilter(p: (SimActor) ⇒ Boolean): FilterMonadic[SimActor, Queue[SimActor]]
    Definition Classes
    TraversableLike → FilterMonadic
  227. def zip[A1 >: SimActor, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Queue[SimActor], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  228. 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
  229. def zipWithIndex[A1 >: SimActor, That](implicit bf: CanBuildFrom[Queue[SimActor], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. 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.

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