Commit 72a931aa authored by Anya Helene Bagge's avatar Anya Helene Bagge 🦆

Legg til clear()

parent fc1c283c
......@@ -49,4 +49,9 @@ public interface IStack {
* @return Antall elementer på stabelen
*/
int size();
/**
Slett alle elementene fra stabelen
*/
void clear();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment