JsPriorityQueue

com.raquo.airstream.util.JsPriorityQueue
class JsPriorityQueue[A](getRank: A => Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def contains(item: A): Boolean
def debugQueue: List[A]
def dequeue(): A

Note: throws exception if there are no items in the queue

Note: throws exception if there are no items in the queue

Attributes

def enqueue(item: A): Unit
def isEmpty: Boolean
def nonEmpty: Boolean
def size: Int