()
| 66 | } |
| 67 | |
| 68 | public boolean next() { |
| 69 | if (this.queue.size() == 0) { |
| 70 | return false; |
| 71 | } |
| 72 | |
| 73 | MsgCheckerEvent e = this.queue.remove(0); |
| 74 | |
| 75 | this.lastMsg = e.msg; |
| 76 | this.lastFrom = e.from; |
| 77 | this.lastTo = e.to; |
| 78 | this.lastType = e.type; |
| 79 | this.lastFirstDelivery = e.delivered; |
| 80 | this.lastDropped = e.dropped; |
| 81 | return true; |
| 82 | |
| 83 | } |
| 84 | |
| 85 | private void add(Message m, DTNHost from, DTNHost to, String type, Boolean |
| 86 | dropped, Boolean delivered) { |
no outgoing calls
no test coverage detected