Class FastStack
java.lang.Object
com.thoughtworks.xstream.core.util.FastStack
An array-based stack implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stack
-
pointer
private int pointer
-
-
Constructor Details
-
FastStack
public FastStack(int initialCapacity)
-
-
Method Details
-
push
-
popSilently
public void popSilently() -
pop
-
peek
-
replace
-
replaceSilently
-
size
public int size() -
hasStuff
public boolean hasStuff() -
get
-
resizeStack
private void resizeStack(int newCapacity) -
toString
-