Xindice API
version 1.2m1

org.apache.xindice.util
Class ObjectStack

java.lang.Object
  extended byorg.apache.xindice.util.ObjectStack
All Implemented Interfaces:
Serializable

public final class ObjectStack
extends Object
implements Serializable

ObjectQueue is a simple linked list implemention that can be used for LIFO stacking

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
See Also:
Serialized Form

Constructor Summary
ObjectStack()
           
 
Method Summary
 void clear()
           
 boolean isEmpty()
           
 Object peek()
           
 Object pop()
           
 void push(Object value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStack

public ObjectStack()
Method Detail

push

public void push(Object value)

pop

public Object pop()

isEmpty

public boolean isEmpty()

size

public int size()

peek

public Object peek()

clear

public void clear()

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.