Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func processBatch(){
- for _ in 0..<queue.getCount(){
- batchSum -= queue.peek()!
- //1
- print("deueuing \(queue.dequeue()!.format())")
- }
- //2
- print("deueuing \(batchSum!.format())")
- resetBatchSum()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement