com.mongodb.util
Class FastStack<T>

java.lang.Object
  extended by com.mongodb.util.FastStack<T>

public class FastStack<T>
extends java.lang.Object


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

Constructor Detail

FastStack

public FastStack()
Method Detail

push

public void push(T t)

peek

public T peek()

pop

public T pop()

size

public int size()

clear

public void clear()

get

public T get(int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object