PriorityQueue(T)
Inherits Reference < Object
Constructors
new(data = nil)
SourceInstance methods
dup
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
each
Sourceempty?
Sourceinspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO) which can be overridden for custom implementations.
Also see #to_s.
merge(other)
Sourcepeek
Sourcepop
Sourcepush(priority : Int32, item : T)
Sourcesize
Source