Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
huffman
main
Huffman
Element
Par
Built with Crystal 1.9.2
2023-10-07 15:31:45 UTC
struct
Huffman::Par
Huffman::Par
Struct
Value
Object
Defined in:
huffman.cr
Constructors
.new
(k : Char, v : Float64)
Instance Method Summary
#clone
#copy_with
(k _k = @k, v _v = @v)
#k
: Char
#v
: Float64
Constructor Detail
def self.
new
(k : Char, v : Float64)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(k _k = @k, v _v = @v)
#
[
View source
]
def
k
: Char
#
def
v
: Float64
#