Sfoglia il codice sorgente

remove unnecessary comment

master
David 4 anni fa
parent
commit
6de7a6ad35
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/ChainQueue.java

+ 1
- 1
src/ChainQueue.java Vedi File

@@ -46,7 +46,7 @@ public class ChainQueue<E> implements Queue<E> {
}

@Override
public boolean add(E input) { // Übergeben der "Data"
public boolean add(E input) {
if (getFirst() == null) { // is the first empty?
setFirst(new Node(input)); // yes? -> insert the node here
return true;


Caricamento…
Annulla
Salva