ch.panter.li.bi.util
Interface ReadOnlyStack<T>

All Superinterfaces:
Iterable<T>, ReadOnlyCollection<T>
All Known Implementing Classes:
ShieldableStack

public interface ReadOnlyStack<T>
extends ReadOnlyCollection<T>


Method Summary
 T peek()
          Looks at the object at the top of this stack without removing it from the stack.
 
Methods inherited from interface ch.panter.li.bi.util.ReadOnlyCollection
get, isEmpty, itemsAsArray, size
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

peek

T peek()
Looks at the object at the top of this stack without removing it from the stack.

Returns:
the object at the top of this stack
Throws:
EmptyStackException - if this stack is empty


Copyright 2007-2007 SourceForge. All Rights Reserved.