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 (SimActor
s)
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).
- Alphabetic
- By Inheritance
- WaitQueue
- Component
- Locatable
- Identifiable
- Error
- Queue
- MutableList
- Serializable
- Serializable
- Builder
- Growable
- Clearable
- LinearSeqOptimized
- LinearSeq
- LinearSeq
- LinearSeqLike
- AbstractSeq
- Seq
- SeqLike
- Cloneable
- Cloneable
- Cloneable
- Iterable
- Traversable
- Mutable
- AbstractSeq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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)
-
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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++[B >: SimActor, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: SimActor, That](that: Traversable[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: SimActor, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[SimActor]): WaitQueue.this.type
- Definition Classes
- Growable
-
def
+:[B >: SimActor, That](elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
+=(elem: SimActor): WaitQueue.this.type
- Definition Classes
- MutableList → Builder → Growable
-
def
+=(elem1: SimActor, elem2: SimActor, elems: SimActor*): WaitQueue.this.type
- Definition Classes
- Growable
-
def
+=:(elem: SimActor): WaitQueue.this.type
- Definition Classes
- MutableList
-
def
:+[B >: SimActor, That](elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
DIAM: Double
Diameter of a token (for animating entities)
Diameter of a token (for animating entities)
- Definition Classes
- Component
-
val
RAD: Double
Radius of a token (for animating entities)
Radius of a token (for animating entities)
- Definition Classes
- Component
-
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
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate(): Unit
Aggregate the statistics of this component's subparts.
Aggregate the statistics of this component's subparts.
- Definition Classes
- Component
-
def
aggregate[B](z: ⇒ B)(seqop: (B, SimActor) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (SimActor) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
appendElem(elem: SimActor): Unit
- Attributes
- protected
- Definition Classes
- MutableList
-
def
apply(n: Int): SimActor
- Definition Classes
- MutableList → LinearSeqOptimized → SeqLike → GenSeqLike → Function1
-
def
applyOrElse[A1 <: Int, B1 >: SimActor](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
at: Array[Double]
- Definition Classes
- Locatable
-
def
at_=(at: Array[Double]): Unit
- Definition Classes
- Locatable
-
def
barred: Int
Return the number entities barred because of 'this' wait-queue being full.
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- MutableList → Builder → Growable → Clearable
-
def
clone(): Queue[SimActor]
- Definition Classes
- Queue → MutableList → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[SimActor, B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[SimActor, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
combinations(n: Int): Iterator[Queue[SimActor]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[Queue]
- Definition Classes
- Queue → MutableList → LinearSeq → LinearSeq → Seq → Iterable → Traversable → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ SimActor
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
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
-
def
contains[A1 >: SimActor](elem: A1): Boolean
- Definition Classes
- LinearSeqOptimized → SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
-
def
copyToArray[B >: SimActor](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: SimActor](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: SimActor](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: SimActor](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
final
def
corresponds[B](that: GenSeq[B])(p: (SimActor, B) ⇒ Boolean): Boolean
- Definition Classes
- LinearSeqLike → SeqLike → GenSeqLike
- Annotations
- @tailrec()
-
def
count(p: (SimActor) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
dequeue(): SimActor
- Definition Classes
- Queue
-
def
dequeueAll(p: (SimActor) ⇒ Boolean): Seq[SimActor]
- Definition Classes
- Queue
-
def
dequeueFirst(p: (SimActor) ⇒ Boolean): Option[SimActor]
- Definition Classes
- Queue
-
def
diff[B >: SimActor](that: GenSeq[B]): Queue[SimActor]
- Definition Classes
- SeqLike → GenSeqLike
-
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
-
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
-
def
display(): Unit
Tell the animation queue to display 'this' wait-queue.
-
def
distinct: Queue[SimActor]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop(n: Int): Queue[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Queue[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike
-
def
dropWhile(p: (SimActor) ⇒ Boolean): Queue[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
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
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
enqueue(elems: SimActor*): Unit
- Definition Classes
- Queue
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
-
def
exists(p: (SimActor) ⇒ Boolean): Boolean
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (SimActor) ⇒ Boolean): Queue[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (SimActor) ⇒ Boolean): Queue[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
find(p: (SimActor) ⇒ Boolean): Option[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
var
first0: LinkedList[SimActor]
- Attributes
- protected
- Definition Classes
- MutableList
-
def
flatMap[B, That](f: (SimActor) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (SimActor) ⇒ GenTraversableOnce[B]): Queue[B]
- Definition Classes
- GenericTraversableTemplate
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
def
fold[A1 >: SimActor](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, SimActor) ⇒ B): B
- Definition Classes
- LinearSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (SimActor, B) ⇒ B): B
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (SimActor) ⇒ Boolean): Boolean
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (SimActor) ⇒ U): Unit
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
front: SimActor
- Definition Classes
- Queue
-
def
genericBuilder[B]: Builder[B, Queue[B]]
- Definition Classes
- GenericTraversableTemplate
-
def
get(n: Int): Option[SimActor]
- Definition Classes
- MutableList
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
groupBy[K](f: (SimActor) ⇒ K): Map[K, Queue[SimActor]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[Queue[SimActor]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
-
def
head: SimActor
- Definition Classes
- MutableList → LinearSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
-
def
headOption: Option[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
val
id: Int
- Definition Classes
- Identifiable
-
def
indexOf[B >: SimActor](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: SimActor](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: SimActor](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: SimActor](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
indexWhere(p: (SimActor) ⇒ Boolean, from: Int): Int
- Definition Classes
- LinearSeqOptimized → SeqLike → GenSeqLike
-
def
indexWhere(p: (SimActor) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
indices: Range
- Definition Classes
- SeqLike
-
def
init: Queue[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
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
-
def
initStats(label: String): Unit
Initialize this component's statistical collectors.
Initialize this component's statistical collectors. Sample statistics: all
Component
s. Time-persistent statistics: all exceptGate
,Source
andSink
.- label
the name of this component
- Definition Classes
- Component
-
def
inits: Iterator[Queue[SimActor]]
- Definition Classes
- TraversableLike
-
def
intersect[B >: SimActor](that: GenSeq[B]): Queue[SimActor]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(x: Int): Boolean
- Definition Classes
- LinearSeqOptimized → GenSeqLike
-
def
isEmpty: Boolean
- Definition Classes
- MutableList → LinearSeqOptimized → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
isFull: Boolean
Return whether 'this' queue is full.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: Iterator[SimActor]
- Definition Classes
- MutableList → LinearSeqLike → IterableLike → GenIterableLike
-
def
last: SimActor
- Definition Classes
- MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
-
var
last0: LinkedList[SimActor]
- Attributes
- protected
- Definition Classes
- MutableList
-
def
lastIndexOf[B >: SimActor](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: SimActor](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: SimActor](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: SimActor](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (SimActor) ⇒ Boolean, end: Int): Int
- Definition Classes
- LinearSeqOptimized → SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (SimActor) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
lastOption: Option[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
var
len: Int
- Attributes
- protected
- Definition Classes
- MutableList
-
def
length: Int
- Definition Classes
- MutableList → LinearSeqOptimized → SeqLike → GenSeqLike
-
def
lengthCompare(len: Int): Int
- Definition Classes
- LinearSeqOptimized → SeqLike
-
def
lift: (Int) ⇒ Option[SimActor]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: (SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (MutableList[SimActor]) ⇒ NewTo): Builder[SimActor, NewTo]
- Definition Classes
- Builder
-
def
max[B >: SimActor](implicit cmp: Ordering[B]): SimActor
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
me: String
- Definition Classes
- Identifiable
-
def
min[B >: SimActor](implicit cmp: Ordering[B]): SimActor
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (SimActor) ⇒ B)(implicit cmp: Ordering[B]): SimActor
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
name: String
- Definition Classes
- Identifiable
-
def
name_=(name: String): Unit
- Definition Classes
- Identifiable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[SimActor, Queue[SimActor]]
- Attributes
- protected[this]
- Definition Classes
- Queue → MutableList → GenericTraversableTemplate → TraversableLike → HasNewBuilder
-
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.
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
orElse[A1 <: Int, B1 >: SimActor](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: SimActor, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParSeq[SimActor]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[SimActor, ParSeq[SimActor]]
- Attributes
- protected[this]
- Definition Classes
- SeqLike → SeqLike → TraversableLike → Parallelizable
-
def
partition(p: (SimActor) ⇒ Boolean): (Queue[SimActor], Queue[SimActor])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch[B >: SimActor, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: Iterator[Queue[SimActor]]
- Definition Classes
- SeqLike
-
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
-
def
prefixLength(p: (SimActor) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
prependElem(elem: SimActor): Unit
- Attributes
- protected
- Definition Classes
- MutableList
-
def
product[B >: SimActor](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: SimActor](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: SimActor](op: (B, SimActor) ⇒ B): B
- Definition Classes
- LinearSeqOptimized → TraversableOnce
-
def
reduceLeftOption[B >: SimActor](op: (B, SimActor) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: SimActor](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: SimActor](op: (SimActor, B) ⇒ B): B
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: SimActor](op: (SimActor, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr: Queue[SimActor]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): MutableList[SimActor]
- Definition Classes
- MutableList → Builder
-
def
reverse: Queue[SimActor]
- Definition Classes
- SeqLike → GenSeqLike
-
def
reverseIterator: Iterator[SimActor]
- Definition Classes
- SeqLike
-
def
reverseMap[B, That](f: (SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[SimActor]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (SimActor) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: SimActor](that: GenIterable[B]): Boolean
- Definition Classes
- LinearSeqOptimized → IterableLike → GenIterableLike
-
def
scan[B >: SimActor, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, SimActor) ⇒ B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
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.
-
def
segmentLength(p: (SimActor) ⇒ Boolean, from: Int): Int
- Definition Classes
- LinearSeqOptimized → SeqLike → GenSeqLike
-
def
seq: LinearSeq[SimActor]
- Definition Classes
- LinearSeq → LinearSeq → LinearSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
simType: String
- Definition Classes
- Identifiable
-
def
size: Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): Queue[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[Queue[SimActor]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[Queue[SimActor]]
- Definition Classes
- IterableLike
-
def
sortBy[B](f: (SimActor) ⇒ B)(implicit ord: Ordering[B]): Queue[SimActor]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (SimActor, SimActor) ⇒ Boolean): Queue[SimActor]
- Definition Classes
- SeqLike
-
def
sorted[B >: SimActor](implicit ord: Ordering[B]): Queue[SimActor]
- Definition Classes
- SeqLike
-
def
span(p: (SimActor) ⇒ Boolean): (Queue[SimActor], Queue[SimActor])
- Definition Classes
- LinearSeqOptimized → TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (Queue[SimActor], Queue[SimActor])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- TraversableLike → GenTraversableLike
-
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
-
def
sum[B >: SimActor](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Queue[SimActor]
- Definition Classes
- Queue → MutableList → LinearSeqOptimized → TraversableLike → GenTraversableLike
-
final
def
tailImpl(tl: MutableList[SimActor]): Unit
- Attributes
- protected
- Definition Classes
- MutableList
-
def
tails: Iterator[Queue[SimActor]]
- Definition Classes
- LinearSeqOptimized → TraversableLike
-
def
take(n: Int): Queue[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Queue[SimActor]
- Definition Classes
- IterableLike
-
def
takeWhile(p: (SimActor) ⇒ Boolean): Queue[SimActor]
- Definition Classes
- LinearSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
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
-
def
thisCollection: LinearSeq[SimActor]
- Attributes
- protected[this]
- Definition Classes
- LinearSeqLike → SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, SimActor, Col[SimActor]]): Col[SimActor]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: SimActor](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[B >: SimActor]: Buffer[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Queue[SimActor]): LinearSeq[SimActor]
- Attributes
- protected[this]
- Definition Classes
- LinearSeqLike → SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[SimActor]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[SimActor]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[SimActor]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[SimActor]
- Definition Classes
- MutableList → TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[SimActor, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toQueue: Queue[SimActor]
- Definition Classes
- MutableList
-
def
toSeq: Seq[SimActor]
- Definition Classes
- SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: SimActor]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[SimActor]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SeqLike → TraversableLike → Any
-
def
toTraversable: Traversable[SimActor]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[SimActor]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (SimActor) ⇒ SimActor): WaitQueue.this.type
- Definition Classes
- SeqLike
-
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 anIllegalArgumentException
if collections are not uniformly sized.
-
def
union[B >: SimActor, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip[A1, A2](implicit asPair: (SimActor) ⇒ (A1, A2)): (Queue[A1], Queue[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (SimActor) ⇒ (A1, A2, A3)): (Queue[A1], Queue[A2], Queue[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(n: Int, x: SimActor): Unit
- Definition Classes
- MutableList → SeqLike
-
def
updated[B >: SimActor, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Queue[SimActor], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view(from: Int, until: Int): SeqView[SimActor, Queue[SimActor]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
view: SeqView[SimActor, Queue[SimActor]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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.
-
def
withFilter(p: (SimActor) ⇒ Boolean): FilterMonadic[SimActor, Queue[SimActor]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: SimActor, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Queue[SimActor], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
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
-
def
zipWithIndex[A1 >: SimActor, That](implicit bf: CanBuildFrom[Queue[SimActor], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
Deprecated Value Members
-
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 /:
-
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 :\
-
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.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated