root/Weektaken2/Weektaak3/ESB/src/hanze/ga/wt3/channels/ESBQueue.java
| 365 | 366 | ||
|---|---|---|---|
21 | System.out.println("[" + this.getqName() + "] Item was added"); | 21 | System.out.println("[" + this.getqName() + "] Item was added"); |
22 | this.queue.add(input); | 22 | this.queue.add(input); |
23 | } | 23 | } |
24 | |||
25 | public void deleteFromQueue(String queuedObject) { | ||
26 | this.queue.remove(queuedObject); | ||
27 | } | ||
24 | 28 | ||
25 | public String getqName() { | 29 | public String getqName() { |
26 | return qName; | 30 | return qName; |
Download diff