eliminato classi superflue del progetto e risolto qualche bug. c'è ancora del lavoro da fare sulla queue e deque

This commit is contained in:
2014-03-23 22:00:57 +01:00
parent 6f3e597f65
commit e3059ed799
10 changed files with 94 additions and 322 deletions

View File

@@ -1,7 +1,7 @@
package stack;
import exceptions.EmptyStackException;
import exceptions.FullStackException;
/**
* Created with MONSTER.
@@ -11,7 +11,7 @@ import exceptions.FullStackException;
*/
public interface Stack<E> {
public void push (E element) throws FullStackException;
public void push (E element) ;
public E top () throws EmptyStackException;
public E pop () throws EmptyStackException;
public boolean isEmpty();