Ver código fonte

finalizing code

master
David 4 anos atrás
pai
commit
e955c1f40d
1 arquivos alterados com 5 adições e 5 exclusões
  1. +5
    -5
      src/ChainQueue.java

+ 5
- 5
src/ChainQueue.java Ver arquivo

@@ -104,11 +104,6 @@ public class ChainQueue<E> implements Queue<E> {
return temp;
}

@Override
public E element() {
return null;
}

@Override
public E peek() { // only "see" into the queue and do not remove anything
if (!this.isEmpty()) {
@@ -119,6 +114,11 @@ public class ChainQueue<E> implements Queue<E> {

/*** the following is not implemented because it's not needed here ***/

@Override
public E element() {
return null;
}

@Override
public Iterator<E> iterator() {
return null;


Carregando…
Cancelar
Salvar