final case class PriorityQueue[A, B](keys: GE[A], values: GE[B], size: I)(implicit ord: Ord[A]) extends SingleOut[B] with ProductWithAdjuncts with Product with Serializable
A sorting UGen that can be thought of as a bounded priority queue.
It keeps all data in memory but limits the size to the
top size
items. By its nature, the UGen only starts outputting
values once the input signal (keys
) has finished.
Both inputs are "hot" and the queue filling ends when either of
keys
or values
is finished.
- keys
the sorting keys; higher values mean higher priority
- values
the values corresponding with the keys and eventually output by the UGen. It is well possible to use the same signal both for
keys
andvalues
.- size
the maximum size of the priority queue.
- Alphabetic
- By Inheritance
- PriorityQueue
- Serializable
- ProductWithAdjuncts
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PriorityQueue(keys: GE[A], values: GE[B], size: I)(implicit ord: Ord[A])
- keys
the sorting keys; higher values mean higher priority
- values
the values corresponding with the keys and eventually output by the UGen. It is well possible to use the same signal both for
keys
andvalues
.- size
the maximum size of the priority queue.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def adjuncts: List[Adjunct]
- Definition Classes
- PriorityQueue → ProductWithAdjuncts
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keys: GE[A]
- def makeUGen(args: IndexedSeq[UGenIn[_]])(implicit b: Builder): UGenInLike[B]
- Attributes
- protected
- Definition Classes
- PriorityQueue → UGenSource
- def makeUGens(implicit b: Builder): UGenInLike[B]
Abstract method which must be implemented by creating the actual
UGen
s during expansion.Abstract method which must be implemented by creating the actual
UGen
s during expansion. This method is at most called once during graph expansion- returns
the expanded object (depending on the type parameter
U
)
- Attributes
- protected
- Definition Classes
- PriorityQueue → Expander
- final def name: String
- Definition Classes
- UGenSource
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val size: I
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val values: GE[B]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated