-
Notifications
You must be signed in to change notification settings - Fork 0
Stack
Dickson Law edited this page Apr 12, 2023
·
4 revisions
A standard last-in-first-out data structure. See DS Stacks.
-
clear(): Seeds_stack_clear(id). -
copy(source): Seeds_stack_copy(id, source). -
empty(): Seeds_stack_empty(id). -
pop(): Seeds_stack_pop(id). -
push(val, ...): Seeds_stack_push(id, val, ...). -
read(datastr): Seeds_stack_read(id, str). -
size(): Seeds_stack_size(id). -
top(): Seeds_stack_top(id). -
write(): SEeds_stack_write(id).
-
get(): Same astop(). -
peek(): Same astop().
-
clone(): Return a shallow clone of the stack. -
cloneDeep(): Same asclone(), but also making deep copies of everything in the stack. -
copyDeep(sourceStack): Same ascopy(sourceStack), but with deep copies of everything in the source.