package datastructure.stack; public interface Stack { int getSize(); boolean isEmpty(); void push(E e); E pop(); E peek(); }