JML

org.jmlspecs.samples.stacks
Interface BoundedStackInterface

All Superinterfaces:
BoundedThing
All Known Implementing Classes:
BoundedStack, BoundedStackImplementation

public interface BoundedStackInterface
extends BoundedThing


Method Summary
 void pop()
           
 void push(Object x)
           
 Object top()
           
 
Methods inherited from interface org.jmlspecs.samples.stacks.BoundedThing
clone, getSizeLimit, isEmpty, isFull
 

Method Detail

pop

public void pop()
                  throws BoundedStackException
Throws:
BoundedStackException

push

public void push(Object x)
                   throws BoundedStackException,
                          NullPointerException
Throws:
BoundedStackException
NullPointerException

top

public Object top()
                    throws BoundedStackException
Throws:
BoundedStackException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under 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. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.