root/Weektaken2/Weektaak3/ESB/src/hanze/ga/wt3/channels/ESBQueue.java
| 361 | 365 | ||
|---|---|---|---|
52 | return this.queue.poll(); | 52 | return this.queue.poll(); |
53 | } | 53 | } |
54 | 54 | ||
55 | /** | ||
56 | * Geeft Array terug van hele queue | ||
57 | * | ||
58 | * @return Lijst met alle items | ||
59 | */ | ||
60 | public LinkedList<String> peekEntireQueue() { | ||
61 | return new LinkedList<String>(this.queue); | ||
62 | } | ||
63 | |||
55 | public void setqName(String qName) { | 64 | public void setqName(String qName) { |
56 | this.qName = qName; | 65 | this.qName = qName; |
57 | } | 66 | } |
Download diff