org.jikesrvm.compilers.opt.util
Class Queue<T>
java.lang.Object
org.jikesrvm.compilers.opt.util.Queue<T>
- All Implemented Interfaces:
- Iterable<T>
public final class Queue<T>
- extends Object
- implements Iterable<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elements
private final LinkedListRVM<T> elements
Queue
public Queue()
Queue
public Queue(T e)
insert
public T insert(T e)
remove
public T remove()
isEmpty
public boolean isEmpty()
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>