edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core.util
Class FastStack

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.core.util.FastStack

public final class FastStack
extends Object

An array-based stack implementation.

Author:
Joe Walnes, Jörg Schaible

Constructor Summary
FastStack(int initialCapacity)
           
 
Method Summary
 Object get(int i)
           
 boolean hasStuff()
           
 Object peek()
           
 Object pop()
           
 void popSilently()
           
 Object push(Object value)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastStack

public FastStack(int initialCapacity)
Method Detail

push

public Object push(Object value)

popSilently

public void popSilently()

pop

public Object pop()

peek

public Object peek()

size

public int size()

hasStuff

public boolean hasStuff()

get

public Object get(int i)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Internet2. All Rights Reserved.