class Priority::Item(V)

Included Modules

Defined in:

priority-queue.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(priority : Value, value : V, name = nil) #

[View source]

Instance Method Detail

def <=>(other) #

required for comparable


[View source]
def name #

[View source]
def priority #

[View source]
def priority=(priority : Float32 | Float64 | Int128 | Int16 | Int32 | Int64 | Int8) #

[View source]
def value #

[View source]