Len return the number of items in the stack.
()
| 1031 | |
| 1032 | // Len return the number of items in the stack. |
| 1033 | func (stack *Stack) Len() int { |
| 1034 | return stack.list.Len() |
| 1035 | } |
| 1036 | |
| 1037 | // Empty the stack. |
| 1038 | func (stack *Stack) Empty() bool { |
no outgoing calls