QueueIteratorNode implements the api.Iterator interface with ability to accept new item when being iterated
| 181 | |
| 182 | // QueueIteratorNode implements the api.Iterator interface with ability to accept new item when being iterated |
| 183 | type QueueIteratorNode struct { |
| 184 | next QueueNode |
| 185 | data interface{} |
| 186 | } |
| 187 | |
| 188 | // Next return the next node |
| 189 | func (q *QueueIteratorNode) Next() interface{} { |
nothing calls this directly
no outgoing calls
no test coverage detected