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
TreiberStack::
Stack(T)
TreiberStack::Stack(T)
Reference
Object
Defined in:
stacklib/stack.cr
Constructors
.new
(initial_capacity)
.new
Instance Method Summary
#empty
#pop
#print_values
#push
(value)
#size
Constructor Detail
def self.
new
(initial_capacity)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
empty
#
[
View source
]
def
pop
#
[
View source
]
def
print_values
#
[
View source
]
def
push
(value)
#
[
View source
]
def
size
#
[
View source
]