Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
delimiter_tree
v0.1.4
Delimiter
Node
Result
Tree
DelimiterTree
Built with Crystal 1.9.2
2023-10-08 01:27:20 UTC
class
Delimiter::Node(T)
Delimiter::Node(T)
Reference
Object
Defined in:
delimiter/node.cr
Constructors
.new
(key : String, payload : Array(T) =
[]
of
T
)
Instance Method Summary
#children
#children=
(children : Hash(String, Delimiter::Node(T)))
#key
#payload
#payload=
(payload : Array(T))
Constructor Detail
def self.
new
(key : String, payload : Array(T) =
[]
of
T
)
#
[
View source
]
Instance Method Detail
def
children
#
[
View source
]
def
children=
(children : Hash(String,
Delimiter::Node
(T)))
#
[
View source
]
def
key
#
[
View source
]
def
payload
#
[
View source
]
def
payload=
(payload : Array(T))
#
[
View source
]