(self,char)
| 9 | self.queuelength = 0 |
| 10 | |
| 11 | def addToQueue(self,char): |
| 12 | #find first open space from end and add the char |
| 13 | backindex=(len(self.instring)-1)-self.queuelength |
| 14 | self.instring[backindex]=char |
| 15 | self.queuelength += 1 |
| 16 | |
| 17 | def getFromQueue(self): |
| 18 | #pop the queue |
no outgoing calls
no test coverage detected