org.exoplatform.services.common.util
Class Queue<T>

java.lang.Object
  extended by org.exoplatform.services.common.util.Queue<T>
Direct Known Subclasses:
TokenParser.Factory

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

Author : Nhu Dinh Thuan nhudinhthuan@yahoo.com Sep 19, 2006


Field Summary
protected  Node<T> current
           
protected  Node<T> first
           
protected  Node<T> last
           
 
Constructor Summary
Queue()
           
 
Method Summary
 boolean hasNext()
           
 T pop()
           
 void push(T v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current

protected Node<T> current

first

protected Node<T> first

last

protected Node<T> last
Constructor Detail

Queue

public Queue()
Method Detail

pop

public T pop()

hasNext

public boolean hasNext()

push

public void push(T v)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.