Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
treiber_stack
main
Stack
Node
TreiberStack
Stack
Generated using Crystal 1.10.1
2024-01-09 19:03:58 UTC
class
Stack::
Node(T)
Stack::Node(T)
Reference
Object
Defined in:
stacklib/treiber_stack.cr
Constructors
.new
(value : Int32, next __arg0 : Nil | Stack::Node(T) =
nil
)
.new
Instance Method Summary
#next
#set_next
(node : Node(T) | Nil)
#value
Constructor Detail
def self.
new
(value : Int32, next __arg0 : Nil |
Stack::Node
(T) =
nil
)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
next
#
[
View source
]
def
set_next
(node :
Node
(T) | Nil)
#
[
View source
]
def
value
#
[
View source
]