eliminato classi superflue del progetto e risolto qualche bug. c'è ancora del lavoro da fare sulla queue e deque
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user