7 lines
134 B
Java
7 lines
134 B
Java
|
public interface Pile<E> {
|
||
|
public E getFirst();
|
||
|
public E pollFirst();
|
||
|
public void addFirst(E e);
|
||
|
public int size();
|
||
|
}
|