|
|
@ -98,8 +98,9 @@ public class SimplePriorityQueue<T extends Ticket> implements IPriorityQueue<T> |
|
|
|
// enthalten sind
|
|
|
|
@Override |
|
|
|
public void forAll(Consumer<T> action) { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
action.accept(tickets[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|