Browse Source

Implementation forAll

T_SS20_Queue
chris 3 years ago
parent
commit
736b9af35e
  1. 7
      SimplePriorityQueue/src/testat_g11/SimplePriorityQueue.java

7
SimplePriorityQueue/src/testat_g11/SimplePriorityQueue.java

@ -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]);
}
}
}

Loading…
Cancel
Save