aima.datastructures
Class LIFOQueue

java.lang.Object
  extended by aima.util.AbstractQueue
      extended by aima.datastructures.LIFOQueue
All Implemented Interfaces:
Queue

public class LIFOQueue
extends AbstractQueue


Field Summary
 
Fields inherited from class aima.util.AbstractQueue
linkedList
 
Constructor Summary
LIFOQueue()
           
 
Method Summary
 void add(java.util.List items)
           
 void add(java.lang.Object anItem)
           
 java.lang.Object get()
           
 java.lang.Object remove()
           
 
Methods inherited from class aima.util.AbstractQueue
addToBack, addToBack, addToFront, addToFront, asList, getFirst, getLast, isEmpty, removeFirst, removeLast, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LIFOQueue

public LIFOQueue()
Method Detail

add

public void add(java.lang.Object anItem)
Specified by:
add in interface Queue
Overrides:
add in class AbstractQueue

add

public void add(java.util.List items)
Specified by:
add in interface Queue
Overrides:
add in class AbstractQueue

remove

public java.lang.Object remove()
Specified by:
remove in interface Queue
Overrides:
remove in class AbstractQueue

get

public java.lang.Object get()
Specified by:
get in interface Queue
Overrides:
get in class AbstractQueue