/*

Copyright (C) 2005 Rune Berge

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
See http://www.gnu.org/copyleft/gpl.html for details.

*/

public interface KippleStack {

  //Clear the stack
  public void clear();

  //Returns true if the stack is empty, otherwise false.
  public boolean empty();

  //Returns the value of the topmost item on the stack
  public int peek();

  //Removes the topmost item on the stack, and returns it's value
  public int pop();

  //Pushes value onto the top of the stack
  public int push(int value);


} // class KippleStack