scalation.process

WaitQueue

Related Docs: object WaitQueue | package process

class WaitQueue extends Queue[SimActor] with Component

The WaitQueue class is a wrapper for Scala's Queue class, which supports 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
Learn more about member selection
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]

    Return where this object is at (its location).

    Return where this object is at (its location).

    Definition Classes
    Locatable
  29. def barred: Int

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

  30. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  31. def clear(): Unit

    Definition Classes
    MutableList → Builder → Growable → Clearable
  32. def clone(): Queue[SimActor]

    Definition Classes
    Queue → MutableList → Cloneable → AnyRef
  33. def collect[B, That](pf: PartialFunction[SimActor, B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  34. def collectFirst[B](pf: PartialFunction[SimActor, B]): Option[B]

    Definition Classes
    TraversableOnce
  35. def combinations(n: Int): Iterator[Queue[SimActor]]

    Definition Classes
    SeqLike
  36. def companion: GenericCompanion[Queue]

    Definition Classes
    Queue → MutableList → LinearSeq → LinearSeq → Seq → Iterable → Traversable → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  37. def compose[A](g: (A) ⇒ Int): (A) ⇒ SimActor

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  38. 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
  39. def contains[A1 >: SimActor](elem: A1): Boolean

    Definition Classes
    LinearSeqOptimized → SeqLike
  40. def containsSlice[B](that: GenSeq[B]): Boolean

    Definition Classes
    SeqLike
  41. def copyToArray[B >: SimActor](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  42. def copyToArray[B >: SimActor](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  43. def copyToArray[B >: SimActor](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  44. def copyToBuffer[B >: SimActor](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  45. final def corresponds[B](that: GenSeq[B])(p: (SimActor, B) ⇒ Boolean): Boolean

    Definition Classes
    LinearSeqLike → SeqLike → GenSeqLike
    Annotations
    @tailrec()
  46. def count(p: (SimActor) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  47. def dequeue(): SimActor

    Definition Classes
    Queue
  48. def dequeueAll(p: (SimActor) ⇒ Boolean): Seq[SimActor]

    Definition Classes
    Queue
  49. def dequeueFirst(p: (SimActor) ⇒ Boolean): Option[SimActor]

    Definition Classes
    Queue
  50. def diff[B >: SimActor](that: GenSeq[B]): Queue[SimActor]

    Definition Classes
    SeqLike → GenSeqLike
  51. def director: Model

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

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

    Definition Classes
    Component
  52. def display(): Unit

    Tell the animation queue to display this WaitQueue.

    Tell the animation queue to display this WaitQueue.

    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

    Determine whether Identifiable object 'this' equals Identifiable object 'that'.

    Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

    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 finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  66. def find(p: (SimActor) ⇒ Boolean): Option[SimActor]

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  67. var first0: LinkedList[SimActor]

    Attributes
    protected
    Definition Classes
    MutableList
  68. def flatMap[B, That](f: (SimActor) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  69. def flatten[B](implicit asTraversable: (SimActor) ⇒ GenTraversableOnce[B]): Queue[B]

    Definition Classes
    GenericTraversableTemplate
  70. def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  71. def fold[A1 >: SimActor](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def foldLeft[B](z: B)(f: (B, SimActor) ⇒ B): B

    Definition Classes
    LinearSeqOptimized → TraversableOnce → GenTraversableOnce
  73. def foldRight[B](z: B)(f: (SimActor, B) ⇒ B): B

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  74. def forall(p: (SimActor) ⇒ Boolean): Boolean

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  75. def foreach[B](f: (SimActor) ⇒ B): Unit

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  76. def front: SimActor

    Definition Classes
    Queue
  77. def genericBuilder[B]: Builder[B, Queue[B]]

    Definition Classes
    GenericTraversableTemplate
  78. def get(n: Int): Option[SimActor]

    Definition Classes
    MutableList
  79. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  80. def groupBy[K](f: (SimActor) ⇒ K): Map[K, Queue[SimActor]]

    Definition Classes
    TraversableLike → GenTraversableLike
  81. def grouped(size: Int): Iterator[Queue[SimActor]]

    Definition Classes
    IterableLike
  82. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  83. def hashCode(): Int

    Return the hashCode as the unique id.

    Return the hashCode as the unique id.

    Definition Classes
    Identifiable → AnyRef → Any
  84. def head: SimActor

    Definition Classes
    MutableList → LinearSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  85. def headOption: Option[SimActor]

    Definition Classes
    TraversableLike → GenTraversableLike
  86. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identifiable
  87. def indexOf[B >: SimActor](elem: B, from: Int): Int

    Definition Classes
    GenSeqLike
  88. def indexOf[B >: SimActor](elem: B): Int

    Definition Classes
    GenSeqLike
  89. def indexOfSlice[B >: SimActor](that: GenSeq[B], from: Int): Int

    Definition Classes
    SeqLike
  90. def indexOfSlice[B >: SimActor](that: GenSeq[B]): Int

    Definition Classes
    SeqLike
  91. def indexWhere(p: (SimActor) ⇒ Boolean, from: Int): Int

    Definition Classes
    LinearSeqOptimized → SeqLike → GenSeqLike
  92. def indexWhere(p: (SimActor) ⇒ Boolean): Int

    Definition Classes
    GenSeqLike
  93. def indices: Range

    Definition Classes
    SeqLike
  94. def init: Queue[SimActor]

    Definition Classes
    TraversableLike → GenTraversableLike
  95. def initComponent(label: String, loc: Array[Double]): Unit

    Initialize this component (all of its vars).

    Initialize this component (all of its vars).

    label

    the name of this component

    loc

    the location of this component

    Definition Classes
    Component
  96. 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
  97. def inits: Iterator[Queue[SimActor]]

    Definition Classes
    TraversableLike
  98. def intersect[B >: SimActor](that: GenSeq[B]): Queue[SimActor]

    Definition Classes
    SeqLike → GenSeqLike
  99. def isDefinedAt(x: Int): Boolean

    Definition Classes
    LinearSeqOptimized → GenSeqLike
  100. def isEmpty: Boolean

    Definition Classes
    MutableList → LinearSeqOptimized → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  101. def isFull: Boolean

    Return whether the queue is full.

  102. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  103. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  104. def iterator: Iterator[SimActor]

    Definition Classes
    MutableList → LinearSeqLike → IterableLike → GenIterableLike
  105. def last: SimActor

    Definition Classes
    MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
  106. var last0: LinkedList[SimActor]

    Attributes
    protected
    Definition Classes
    MutableList
  107. def lastIndexOf[B >: SimActor](elem: B, end: Int): Int

    Definition Classes
    GenSeqLike
  108. def lastIndexOf[B >: SimActor](elem: B): Int

    Definition Classes
    GenSeqLike
  109. def lastIndexOfSlice[B >: SimActor](that: GenSeq[B], end: Int): Int

    Definition Classes
    SeqLike
  110. def lastIndexOfSlice[B >: SimActor](that: GenSeq[B]): Int

    Definition Classes
    SeqLike
  111. def lastIndexWhere(p: (SimActor) ⇒ Boolean, end: Int): Int

    Definition Classes
    LinearSeqOptimized → SeqLike → GenSeqLike
  112. def lastIndexWhere(p: (SimActor) ⇒ Boolean): Int

    Definition Classes
    GenSeqLike
  113. def lastOption: Option[SimActor]

    Definition Classes
    TraversableLike → GenTraversableLike
  114. var len: Int

    Attributes
    protected
    Definition Classes
    MutableList
  115. def length: Int

    Definition Classes
    MutableList → LinearSeqOptimized → SeqLike → GenSeqLike
  116. def lengthCompare(len: Int): Int

    Definition Classes
    LinearSeqOptimized → SeqLike
  117. def lift: (Int) ⇒ Option[SimActor]

    Definition Classes
    PartialFunction
  118. def map[B, That](f: (SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  119. def mapResult[NewTo](f: (MutableList[SimActor]) ⇒ NewTo): Builder[SimActor, NewTo]

    Definition Classes
    Builder
  120. def max[B >: SimActor](implicit cmp: Ordering[B]): SimActor

    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def maxBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor

    Definition Classes
    TraversableOnce → GenTraversableOnce
  122. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identifiable
  123. def min[B >: SimActor](implicit cmp: Ordering[B]): SimActor

    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def minBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor

    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def name: String

    Get the name.

    Get the name.

    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
  134. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  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](f: (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 setAt(loc: Array[Double]): Unit

    Set the location of this object.

    Set the location of this object.

    loc

    the location of this object

    Definition Classes
    Locatable
  166. def setDirector(dir: Model): Unit

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

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

    dir

    the director of the play/simulation

    Definition Classes
    Component
  167. def setName(label: String): Unit

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identifiable
  168. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    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 slice(from: Int, until: Int): Queue[SimActor]

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  175. def sliding(size: Int, step: Int): Iterator[Queue[SimActor]]

    Definition Classes
    IterableLike
  176. def sliding(size: Int): Iterator[Queue[SimActor]]

    Definition Classes
    IterableLike
  177. def sortBy[B](f: (SimActor) ⇒ B)(implicit ord: Ordering[B]): Queue[SimActor]

    Definition Classes
    SeqLike
  178. def sortWith(lt: (SimActor, SimActor) ⇒ Boolean): Queue[SimActor]

    Definition Classes
    SeqLike
  179. def sorted[B >: SimActor](implicit ord: Ordering[B]): Queue[SimActor]

    Definition Classes
    SeqLike
  180. def span(p: (SimActor) ⇒ Boolean): (Queue[SimActor], Queue[SimActor])

    Definition Classes
    LinearSeqOptimized → TraversableLike → GenTraversableLike
  181. def splitAt(n: Int): (Queue[SimActor], Queue[SimActor])

    Definition Classes
    TraversableLike → GenTraversableLike
  182. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Definition Classes
    SeqLike → GenSeqLike
  183. def startsWith[B](that: GenSeq[B]): Boolean

    Definition Classes
    GenSeqLike
  184. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  185. val subpart: ListBuffer[Component]

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

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

    Definition Classes
    Component
  186. def sum[B >: SimActor](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  187. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  188. def tail: Queue[SimActor]

    Definition Classes
    Queue → MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
  189. final def tailImpl(tl: MutableList[SimActor]): Unit

    Attributes
    protected
    Definition Classes
    MutableList
  190. def tails: Iterator[Queue[SimActor]]

    Definition Classes
    TraversableLike
  191. def take(n: Int): Queue[SimActor]

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  192. def takeRight(n: Int): Queue[SimActor]

    Definition Classes
    IterableLike
  193. def takeWhile(p: (SimActor) ⇒ Boolean): Queue[SimActor]

    Definition Classes
    LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  194. 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
  195. def thisCollection: LinearSeq[SimActor]

    Attributes
    protected[this]
    Definition Classes
    LinearSeqLike → SeqLike → IterableLike → TraversableLike
  196. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, SimActor, Col[SimActor]]): Col[SimActor]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  197. def toArray[B >: SimActor](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  198. def toBuffer[B >: SimActor]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  199. def toCollection(repr: Queue[SimActor]): LinearSeq[SimActor]

    Attributes
    protected[this]
    Definition Classes
    LinearSeqLike → SeqLike → IterableLike → TraversableLike
  200. def toIndexedSeq: IndexedSeq[SimActor]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  201. def toIterable: Iterable[SimActor]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  202. def toIterator: Iterator[SimActor]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  203. def toList: List[SimActor]

    Definition Classes
    MutableList → TraversableOnce → GenTraversableOnce
  204. def toMap[T, U](implicit ev: <:<[SimActor, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  205. def toQueue: Queue[SimActor]

    Definition Classes
    MutableList
  206. def toSeq: Seq[SimActor]

    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  207. def toSet[B >: SimActor]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  208. def toStream: Stream[SimActor]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  209. def toString(): String

    Definition Classes
    SeqLike → TraversableLike → Any
  210. def toTraversable: Traversable[SimActor]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  211. def toVector: Vector[SimActor]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  212. def transform(f: (SimActor) ⇒ SimActor): WaitQueue.this.type

    Definition Classes
    SeqLike
  213. 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.

  214. def union[B >: SimActor, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  215. def unzip[A1, A2](implicit asPair: (SimActor) ⇒ (A1, A2)): (Queue[A1], Queue[A2])

    Definition Classes
    GenericTraversableTemplate
  216. def unzip3[A1, A2, A3](implicit asTriple: (SimActor) ⇒ (A1, A2, A3)): (Queue[A1], Queue[A2], Queue[A3])

    Definition Classes
    GenericTraversableTemplate
  217. def update(n: Int, x: SimActor): Unit

    Definition Classes
    MutableList → SeqLike
  218. def updated[B >: SimActor, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That

    Definition Classes
    SeqLike → GenSeqLike
  219. def view(from: Int, until: Int): SeqView[SimActor, Queue[SimActor]]

    Definition Classes
    SeqLike → IterableLike → TraversableLike
  220. def view: SeqView[SimActor, Queue[SimActor]]

    Definition Classes
    SeqLike → IterableLike → TraversableLike
  221. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  222. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  223. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  224. 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.

  225. def withFilter(p: (SimActor) ⇒ Boolean): FilterMonadic[SimActor, Queue[SimActor]]

    Definition Classes
    TraversableLike → FilterMonadic
  226. def zip[A1 >: SimActor, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Queue[SimActor], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  227. 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
  228. 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