PriorityQueue class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
queue
↔ List
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(dynamic value, dynamic cost)
→ dynamic
-
Add a new item to the queue and ensure the highest priority element
is at the front of the queue.
-
empty()
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pop()
→ dynamic
-
Return the highest priority element in the queue.
-
toString()
→ String
-
A string representation of this object.
inherited