com.opensymphony.xwork2.util
Class CompoundRoot

java.lang.Object
  extended by java.util.concurrent.CopyOnWriteArrayList<Object>
      extended by com.opensymphony.xwork2.util.CompoundRoot
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess

public class CompoundRoot
extends CopyOnWriteArrayList<Object>

A Stack that is implemented using a List.

Version:
$Revision$
Author:
plightbo
See Also:
Serialized Form

Constructor Summary
CompoundRoot()
           
CompoundRoot(List<?> list)
           
 
Method Summary
 CompoundRoot cutStack(int index)
           
 Object peek()
           
 Object pop()
           
 void push(Object o)
           
 
Methods inherited from class java.util.concurrent.CopyOnWriteArrayList
add, add, addAll, addAll, addAllAbsent, addIfAbsent, clear, clone, contains, containsAll, equals, get, hashCode, indexOf, indexOf, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompoundRoot

public CompoundRoot()

CompoundRoot

public CompoundRoot(List<?> list)
Method Detail

cutStack

public CompoundRoot cutStack(int index)

peek

public Object peek()

pop

public Object pop()

push

public void push(Object o)


Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.