WaitQueue_LCFS

scalation.simulation.event.WaitQueue_LCFS
case class WaitQueue_LCFS(director: Model, ext: String, cap: Int) extends Stack[Entity]

The WaitQueue class is used to hold entities waiting for service and collect statistics on waiting times. When the queue is full, entities are 'barred' from entering the queue.

Value parameters

cap

the capacity of the queue (defaults to unbounded)

director

the controller/scheduler that this event is a part of

ext

the extension to distinguish the wait queues

Attributes

Graph
Supertypes
trait Product
class Stack[Entity]
class ArrayDeque[Entity]
trait DefaultSerializable
trait Serializable
trait ArrayDequeOps[Entity, Stack, Stack[Entity]]
trait StrictOptimizedSeqOps[Entity, Stack, Stack[Entity]]
trait StrictOptimizedIterableOps[Entity, Stack, Stack[Entity]]
trait IndexedBuffer[Entity]
trait IndexedSeq[Entity]
trait IndexedSeqOps[Entity, Stack, Stack[Entity]]
trait IndexedSeq[Entity]
trait IndexedSeqOps[Entity, Stack, Stack[Entity]]
class AbstractBuffer[Entity]
trait Buffer[Entity]
trait Shrinkable[Entity]
trait Growable[Entity]
trait Clearable
class AbstractSeq[Entity]
trait Seq[Entity]
trait SeqOps[Entity, Stack, Stack[Entity]]
trait Cloneable[Stack[Entity]]
trait Cloneable
trait Iterable[Entity]
class AbstractSeq[Entity]
trait Seq[Entity]
trait Equals
trait SeqOps[Entity, Stack, Stack[Entity]]
trait PartialFunction[Int, Entity]
trait Int => Entity
class AbstractIterable[Entity]
trait Iterable[Entity]
trait IterableFactoryDefaults[Entity, Stack]
trait IterableOps[Entity, Stack, Stack[Entity]]
trait IterableOnceOps[Entity, Stack, Stack[Entity]]
trait IterableOnce[Entity]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def barred: Int

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

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

Attributes

def dequeue(): Entity

Dequeue the first entity from the wait queue and record the time in the wait queue.

Dequeue the first entity from the wait queue and record the time in the wait queue.

Attributes

def enqueue(ent: Entity): this.type

Enqueue the entity 'ent' in the wait queue and record when waiting started.

Enqueue the entity 'ent' in the wait queue and record when waiting started.

Value parameters

ent

the entity to be enqueued

Attributes

def isFull: Boolean

Return whether the queue is full (at capacity). Note, isEmpty is inherited from the Stack class.

Return whether the queue is full (at capacity). Note, isEmpty is inherited from the Stack class.

Attributes

def summary(numEntities: Int): Unit

Summarize the time waiting in this queue.

Summarize the time waiting in this queue.

Value parameters

numEntities

the number of entities entering or skipping the queue

Attributes

Inherited methods

final def ++[B >: Entity](suffix: IterableOnce[B]): Stack[B]

Attributes

Inherited from:
IterableOps
final override def ++:[B >: Entity](prefix: IterableOnce[B]): Stack[B]

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final def ++=(xs: IterableOnce[Entity]): Growable.this.type

Attributes

Inherited from:
Growable
final def ++=:(elems: IterableOnce[Entity]): Buffer.this.type

Attributes

Inherited from:
Buffer
final def +:[B >: Entity](elem: B): Stack[B]

Attributes

Inherited from:
SeqOps
final def +=(elem: Entity): Growable.this.type

Attributes

Inherited from:
Growable
final def +=:(elem: Entity): Buffer.this.type

Attributes

Inherited from:
Buffer
final def --=(xs: IterableOnce[Entity]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: Entity): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def :+[B >: Entity](elem: B): Stack[B]

Attributes

Inherited from:
SeqOps
final def :++[B >: Entity](suffix: IterableOnce[B]): Stack[B]

Attributes

Inherited from:
SeqOps
override def addAll(elems: IterableOnce[Entity]): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Growable
Inherited from:
ArrayDeque
def addOne(elem: Entity): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
def andThen[C](k: PartialFunction[Entity, C]): PartialFunction[Int, C]

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Entity => C): PartialFunction[Int, C]

Attributes

Definition Classes
PartialFunction -> Function1
Inherited from:
PartialFunction
final def append(elem: Entity): Buffer.this.type

Attributes

Inherited from:
Buffer
final def appendAll(xs: IterableOnce[Entity]): Buffer.this.type

Attributes

Inherited from:
Buffer
override def appended[B >: Entity](elem: B): Stack[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def appendedAll[B >: Entity](suffix: IterableOnce[B]): Stack[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def apply(idx: Int): Entity

Attributes

Inherited from:
ArrayDeque
def applyOrElse[A1 <: Int, B1 >: Entity](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Seq
def clear(): Unit

Attributes

Inherited from:
ArrayDeque
def clearAndShrink(size: Int): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
final override def clone(): Stack[Entity]

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
ArrayDequeOps -> Object
Inherited from:
ArrayDequeOps
override def collect[B](pf: PartialFunction[Entity, B]): Stack[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def collectFirst[B](pf: PartialFunction[Entity, B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def combinations(n: Int): Iterator[Stack[Entity]]

Attributes

Inherited from:
SeqOps
def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Entity]

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => Int): A => Entity

Attributes

Inherited from:
Function1
final override def concat[B >: Entity](suffix: IterableOnce[B]): Stack[B]

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
def contains[A1 >: Entity](elem: A1): Boolean

Attributes

Inherited from:
SeqOps
def containsSlice[B >: Entity](that: Seq[B]): Boolean

Attributes

Inherited from:
SeqOps
def copySliceToArray(srcStart: Int, dest: Array[_], destStart: Int, maxItems: Int): dest.type

Attributes

Inherited from:
ArrayDequeOps
override def copyToArray[B >: Entity](dest: Array[B], destStart: Int, len: Int): Int

Attributes

Definition Classes
ArrayDeque -> IterableOnceOps
Inherited from:
ArrayDeque
def copyToArray[B >: Entity](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Entity](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (Entity, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: Seq[B])(p: (Entity, B) => Boolean): Boolean

Attributes

Inherited from:
SeqOps
def count(p: Entity => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
override def diff[B >: Entity](that: Seq[B]): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def distinct: Stack[Entity]

Attributes

Inherited from:
SeqOps
override def distinctBy[B](f: Entity => B): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def drop(n: Int): Stack[Entity]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def dropInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def dropRight(n: Int): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def dropRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def dropWhile(p: Entity => Boolean): Stack[Entity]

Attributes

Inherited from:
IterableOps
def dropWhileInPlace(p: Entity => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer
def elementWise: ElementWiseExtractor[Int, Entity]

Attributes

Inherited from:
PartialFunction
override def empty: Stack[Entity]

Attributes

Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from:
IterableFactoryDefaults
def endsWith[B >: Entity](that: Iterable[B]): Boolean

Attributes

Inherited from:
SeqOps
def ensureSize(hint: Int): Unit

Attributes

Inherited from:
ArrayDeque
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Seq -> Equals -> Any
Inherited from:
Seq
def exists(p: Entity => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
override def filter(pred: Entity => Boolean): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def filterInPlace(p: Entity => Boolean): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def filterNot(pred: Entity => Boolean): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def find(p: Entity => Boolean): Option[Entity]

Attributes

Inherited from:
IterableOnceOps
def findLast(p: Entity => Boolean): Option[Entity]

Attributes

Inherited from:
SeqOps
override def flatMap[B](f: Entity => IterableOnce[B]): Stack[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def flatMapInPlace(f: Entity => IterableOnce[Entity]): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
override def flatten[B](implicit toIterableOnce: Entity => IterableOnce[B]): Stack[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def fold[A1 >: Entity](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, Entity) => B): B

Attributes

Inherited from:
IterableOnceOps
override def foldRight[B](z: B)(op: (Entity, B) => B): B

Attributes

Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def forall(p: Entity => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: Entity => U): Unit

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[Entity]): Stack[Entity]

Attributes

Inherited from:
IterableFactoryDefaults
def groupBy[K](f: Entity => K): Map[K, Stack[Entity]]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: Entity => K)(f: Entity => B): Map[K, Stack[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: Entity => K)(f: Entity => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps
override def grouped(n: Int): Iterator[Stack[Entity]]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps
Inherited from:
ArrayDequeOps
override def hashCode(): Int

Calculates a hash code value for the object.

Calculates a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
Seq -> Any
Inherited from:
Seq
override def head: Entity

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
override def headOption: Option[Entity]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def indexOf[B >: Entity](elem: B): Int

Attributes

Inherited from:
SeqOps
def indexOf[B >: Entity](elem: B, from: Int): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: Entity](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def indexOfSlice[B >: Entity](that: Seq[B], from: Int): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: Entity => Boolean): Int

Attributes

Inherited from:
SeqOps
def indexWhere(p: Entity => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
def indices: Range

Attributes

Inherited from:
SeqOps
def init: Stack[Entity]

Attributes

Inherited from:
IterableOps
def inits: Iterator[Stack[Entity]]

Attributes

Inherited from:
IterableOps
def insert(idx: Int, elem: Entity): Unit

Attributes

Inherited from:
ArrayDeque
def insertAll(idx: Int, elems: IterableOnce[Entity]): Unit

Attributes

Inherited from:
ArrayDeque
override def intersect[B >: Entity](that: Seq[B]): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def isDefinedAt(idx: Int): Boolean

Attributes

Inherited from:
SeqOps
override def isEmpty: Boolean

Attributes

Definition Classes
ArrayDeque -> SeqOps -> IterableOnceOps
Inherited from:
ArrayDeque
override def isTraversableAgain: Boolean

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
override def iterableFactory: SeqFactory[Stack]

Attributes

Definition Classes
Stack -> ArrayDeque -> IndexedBuffer -> IndexedSeq -> IndexedSeq -> Buffer -> Seq -> Iterable -> Seq -> Iterable -> IterableOps
Inherited from:
Stack
def iterator: Iterator[Entity]

Attributes

Inherited from:
IndexedSeqOps
override def knownSize: Int

Attributes

Definition Classes
ArrayDeque -> IndexedSeqOps -> Buffer -> Growable -> IterableOnce
Inherited from:
ArrayDeque
override def last: Entity

Attributes

Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def lastIndexOf[B >: Entity](elem: B, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: Entity](that: Seq[B]): Int

Attributes

Inherited from:
SeqOps
def lastIndexOfSlice[B >: Entity](that: Seq[B], end: Int): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: Entity => Boolean): Int

Attributes

Inherited from:
SeqOps
def lastIndexWhere(p: Entity => Boolean, end: Int): Int

Attributes

Inherited from:
SeqOps
def lastOption: Option[Entity]

Attributes

Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[Entity, B, Iterable.this.type]

Attributes

Inherited from:
Iterable
def length: Int

Attributes

Inherited from:
ArrayDeque
final override def lengthCompare(that: Iterable[_]): Int

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
final override def lengthCompare(len: Int): Int

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
final def lengthIs: SizeCompareOps

Attributes

Inherited from:
SeqOps
def lift: Int => Option[Entity]

Attributes

Inherited from:
PartialFunction
override def map[B](f: Entity => B): Stack[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def mapInPlace(f: Entity => Entity): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def max[B >: Entity](implicit ord: Ordering[B]): Entity

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: Entity => B)(implicit ord: Ordering[B]): Entity

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: Entity => B)(implicit ord: Ordering[B]): Option[Entity]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: Entity](implicit ord: Ordering[B]): Option[Entity]

Attributes

Inherited from:
IterableOnceOps
def min[B >: Entity](implicit ord: Ordering[B]): Entity

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: Entity => B)(implicit ord: Ordering[B]): Entity

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: Entity => B)(implicit ord: Ordering[B]): Option[Entity]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: Entity](implicit ord: Ordering[B]): Option[Entity]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[Entity, Stack[Entity]]

Attributes

Inherited from:
IterableFactoryDefaults
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def orElse[A1 <: Int, B1 >: Entity](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

Attributes

Inherited from:
PartialFunction
override def padTo[B >: Entity](len: Int, elem: B): Stack[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def padToInPlace(len: Int, elem: Entity): Buffer.this.type

Attributes

Inherited from:
Buffer
override def partition(p: Entity => Boolean): (Stack[Entity], Stack[Entity])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
override def partitionMap[A1, A2](f: Entity => Either[A1, A2]): (Stack[A1], Stack[A2])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def patch[B >: Entity](from: Int, other: IterableOnce[B], replaced: Int): Stack[B]

Attributes

Inherited from:
SeqOps
def patchInPlace(from: Int, patch: IterableOnce[Entity], replaced: Int): IndexedBuffer.this.type

Attributes

Inherited from:
IndexedBuffer
def permutations: Iterator[Stack[Entity]]

Attributes

Inherited from:
SeqOps
def pop(): Entity

Attributes

Inherited from:
Stack
def popAll(): Seq[Entity]

Attributes

Inherited from:
Stack
def popWhile(f: Entity => Boolean): Seq[Entity]

Attributes

Inherited from:
Stack
def prepend(elem: Entity): ArrayDeque.this.type

Attributes

Inherited from:
ArrayDeque
override def prependAll(elems: IterableOnce[Entity]): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Buffer
Inherited from:
ArrayDeque
override def prepended[B >: Entity](elem: B): Stack[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
override def prependedAll[B >: Entity](prefix: IterableOnce[B]): Stack[B]

Attributes

Definition Classes
StrictOptimizedSeqOps -> SeqOps
Inherited from:
StrictOptimizedSeqOps
def product[B >: Entity](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def push(elem1: Entity, elem2: Entity, elems: Entity*): Stack.this.type

Attributes

Inherited from:
Stack
def push(elem: Entity): Stack.this.type

Attributes

Inherited from:
Stack
def pushAll(elems: IterableOnce[Entity]): Stack.this.type

Attributes

Inherited from:
Stack
def reduce[B >: Entity](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: Entity](op: (B, Entity) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Entity](op: (B, Entity) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: Entity](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: Entity](op: (Entity, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: Entity](op: (Entity, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def remove(idx: Int): Entity

Attributes

Inherited from:
ArrayDeque
def remove(idx: Int, count: Int): Unit

Attributes

Inherited from:
ArrayDeque
def removeAll(p: Entity => Boolean): Seq[Entity]

Attributes

Inherited from:
ArrayDeque
def removeAll(): Seq[Entity]

Attributes

Inherited from:
ArrayDeque
def removeAllReverse(): Seq[Entity]

Attributes

Inherited from:
ArrayDeque
def removeFirst(p: Entity => Boolean, from: Int): Option[Entity]

Attributes

Inherited from:
ArrayDeque
def removeHead(resizeInternalRepr: Boolean): Entity

Attributes

Inherited from:
ArrayDeque
def removeHeadOption(resizeInternalRepr: Boolean): Option[Entity]

Attributes

Inherited from:
ArrayDeque
def removeHeadWhile(f: Entity => Boolean): Seq[Entity]

Attributes

Inherited from:
ArrayDeque
def removeLast(resizeInternalRepr: Boolean): Entity

Attributes

Inherited from:
ArrayDeque
def removeLastOption(resizeInternalRepr: Boolean): Option[Entity]

Attributes

Inherited from:
ArrayDeque
def removeLastWhile(f: Entity => Boolean): Seq[Entity]

Attributes

Inherited from:
ArrayDeque
final protected def requireBounds(idx: Int, until: Int): Unit

Attributes

Inherited from:
ArrayDequeOps
override def reverse: Stack[Entity]

Attributes

Definition Classes
ArrayDequeOps -> SeqOps
Inherited from:
ArrayDequeOps
override def reverseIterator: Iterator[Entity]

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override protected def reversed: Iterable[Entity]

Attributes

Definition Classes
IndexedSeqOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def runWith[U](action: Entity => U): Int => Boolean

Attributes

Inherited from:
PartialFunction
def sameElements[B >: Entity](that: IterableOnce[B]): Boolean

Attributes

Inherited from:
SeqOps
def scala$collection$SeqOps$$super$concat[B >: Entity](suffix: IterableOnce[B]): Stack[B]

Attributes

Inherited from:
SeqOps
def scala$collection$SeqOps$$super$sizeCompare(that: Iterable[_]): Int

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
SeqOps

Attributes

Inherited from:
Cloneable
def scan[B >: Entity](z: B)(op: (B, B) => B): Stack[B]

Attributes

Inherited from:
IterableOps
override def scanLeft[B](z: B)(op: (B, Entity) => B): Stack[B]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def scanRight[B](z: B)(op: (Entity, B) => B): Stack[B]

Attributes

Inherited from:
IterableOps
override def search[B >: Entity](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
override def search[B >: Entity](elem: B)(implicit ord: Ordering[B]): SearchResult

Attributes

Definition Classes
IndexedSeqOps -> SeqOps
Inherited from:
IndexedSeqOps
def segmentLength(p: Entity => Boolean, from: Int): Int

Attributes

Inherited from:
SeqOps
final def segmentLength(p: Entity => Boolean): Int

Attributes

Inherited from:
SeqOps
final override def size: Int

Attributes

Definition Classes
SeqOps -> IterableOnceOps
Inherited from:
SeqOps
final override def sizeCompare(that: Iterable[_]): Int

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final override def sizeCompare(otherSize: Int): Int

Attributes

Definition Classes
SeqOps -> IterableOps
Inherited from:
SeqOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
override def slice(from: Int, until: Int): Stack[Entity]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps -> IterableOnceOps
Inherited from:
ArrayDequeOps
def sliceInPlace(start: Int, end: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def sliding(window: Int, step: Int): Iterator[Stack[Entity]]

Attributes

Definition Classes
ArrayDequeOps -> IterableOps
Inherited from:
ArrayDequeOps
def sliding(size: Int): Iterator[Stack[Entity]]

Attributes

Inherited from:
IterableOps
def sortBy[B](f: Entity => B)(implicit ord: Ordering[B]): Stack[Entity]

Attributes

Inherited from:
SeqOps
def sortInPlace[B >: Entity]()(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceBy[B](f: Entity => B)(implicit ord: Ordering[B]): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortInPlaceWith(lt: (Entity, Entity) => Boolean): IndexedSeqOps.this.type

Attributes

Inherited from:
IndexedSeqOps
def sortWith(lt: (Entity, Entity) => Boolean): Stack[Entity]

Attributes

Inherited from:
SeqOps
def sorted[B >: Entity](implicit ord: Ordering[B]): Stack[Entity]

Attributes

Inherited from:
SeqOps
override def span(p: Entity => Boolean): (Stack[Entity], Stack[Entity])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
override def splitAt(n: Int): (Stack[Entity], Stack[Entity])

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def startsWith[B >: Entity](that: IterableOnce[B], offset: Int): Boolean

Attributes

Inherited from:
SeqOps
override def stepper[S <: Stepper[_]](implicit shape: StepperShape[Entity, S]): S & EfficientSplit

Attributes

Definition Classes
ArrayDeque -> IndexedSeqOps -> IterableOnce
Inherited from:
ArrayDeque
def subtractAll(xs: IterableOnce[Entity]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
override def subtractOne(elem: Entity): ArrayDeque.this.type

Attributes

Definition Classes
ArrayDeque -> Buffer -> Shrinkable
Inherited from:
ArrayDeque
def sum[B >: Entity](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: Stack[Entity]

Attributes

Inherited from:
IterableOps
def tails: Iterator[Stack[Entity]]

Attributes

Inherited from:
IterableOps
override def take(n: Int): Stack[Entity]

Attributes

Definition Classes
IndexedSeqOps -> IterableOps -> IterableOnceOps
Inherited from:
IndexedSeqOps
def takeInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
override def takeRight(n: Int): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def takeRightInPlace(n: Int): Buffer.this.type

Attributes

Inherited from:
Buffer
def takeWhile(p: Entity => Boolean): Stack[Entity]

Attributes

Inherited from:
IterableOps
def takeWhileInPlace(p: Entity => Boolean): Buffer.this.type

Attributes

Inherited from:
Buffer
override def tapEach[U](f: Entity => U): Stack[Entity]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps
def to[C1](factory: Factory[Entity, C1]): C1

Attributes

Inherited from:
IterableOnceOps
override def toArray[B >: Entity : ClassTag]: Array[B]

Attributes

Definition Classes
ArrayDeque -> IterableOnceOps
Inherited from:
ArrayDeque
final def toBuffer[B >: Entity]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[Entity]

Attributes

Inherited from:
IterableOnceOps
def toList: List[Entity]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: Entity <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[Entity]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: Entity]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Seq -> Function1 -> Iterable -> Any
Inherited from:
Seq
def toVector: Vector[Entity]

Attributes

Inherited from:
IterableOnceOps
final def top: Entity

Attributes

Inherited from:
Stack
def transpose[B](implicit asIterable: Entity => Iterable[B]): Stack[Stack[B]]

Attributes

Inherited from:
IterableOps
def trimToSize(): Unit

Attributes

Inherited from:
ArrayDeque
def unapply(a: Int): Option[Entity]

Attributes

Inherited from:
PartialFunction
override def unzip[A1, A2](implicit asPair: Entity => (A1, A2)): (Stack[A1], Stack[A2])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](implicit asTriple: Entity => (A1, A2, A3)): (Stack[A1], Stack[A2], Stack[A3])

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def update(idx: Int, elem: Entity): Unit

Attributes

Inherited from:
ArrayDeque
def updated[B >: Entity](index: Int, elem: B): Stack[B]

Attributes

Inherited from:
SeqOps
override def view: IndexedSeqView[Entity]

Attributes

Definition Classes
IndexedSeqOps -> SeqOps -> IterableOps
Inherited from:
IndexedSeqOps
def withFilter(p: Entity => Boolean): WithFilter[Entity, Stack]

Attributes

Inherited from:
IterableOps
override def zip[B](that: IterableOnce[B]): Stack[(Entity, B)]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps
Inherited from:
StrictOptimizedIterableOps
def zipAll[A1 >: Entity, B](that: Iterable[B], thisElem: A1, thatElem: B): Stack[(A1, B)]

Attributes

Inherited from:
IterableOps
override def zipWithIndex: Stack[(Entity, Int)]

Attributes

Definition Classes
StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
Inherited from:
StrictOptimizedIterableOps

Deprecated and Inherited methods

final def +=(elem1: Entity, elem2: Entity, elems: Entity*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
def -=(elem1: Entity, elem2: Entity, elems: Entity*): Shrinkable.this.type

Attributes

Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
final def /:[B](z: B)(op: (B, Entity) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (Entity, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, Entity) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
final def append(elems: Entity*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use appendAll instead
Inherited from:
Buffer
def companion: IterableFactory[Stack]

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: Entity](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def prefixLength(p: Entity => Boolean): Int

Attributes

Deprecated
[Since version 2.13.0] Use segmentLength instead of prefixLength
Inherited from:
SeqOps
final def prepend(elems: Entity*): Buffer.this.type

Attributes

Deprecated
[Since version 2.13.0] Use prependAll instead
Inherited from:
Buffer
final def repr: Stack[Entity]

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def reverseMap[B](f: Entity => B): Stack[B]

Attributes

Deprecated
[Since version 2.13.0] Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
Inherited from:
SeqOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[Entity]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[Entity]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[Entity]

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
final def transform(f: Entity => Entity): SeqOps.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `mapInPlace` on an `IndexedSeq` instead
Inherited from:
SeqOps
def trimEnd(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropRightInPlace instead
Inherited from:
Buffer
def trimStart(n: Int): Unit

Attributes

Deprecated
[Since version 2.13.4] use dropInPlace instead
Inherited from:
Buffer
final def union[B >: Entity](that: Seq[B]): Stack[B]

Attributes

Deprecated
[Since version 2.13.0] Use `concat` instead
Inherited from:
SeqOps
override def view(from: Int, until: Int): IndexedSeqView[Entity]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Definition Classes
IndexedSeqOps -> IterableOps
Inherited from:
IndexedSeqOps

Concrete fields

The number in Queue (l_q) time-persistent statistics

The number in Queue (l_q) time-persistent statistics

Attributes

The time in Queue (t_q) sample statistics

The time in Queue (t_q) sample statistics

Attributes

val waitTimes: ArrayBuffer[Double]

The waiting times for all entities that wait

The waiting times for all entities that wait

Attributes