org.jgroups.util
Class Stack
- Cloneable, Externalizable
LIFO stack, with better performance than java.util.Stack (based on List).
add , addAtHead , clone , contains , copy , dump , elements , getContents , main , peek , peekAtHead , readExternal , remove , removeAll , removeElement , removeFromHead , size , toString , writeExternal |
bottom
public Object bottom()
empty
public boolean empty()
peek
public Object peek()
- peek in interface List
push
public void push(Object obj)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- readExternal in interface List
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- writeExternal in interface List
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.