File
Doc
Category
Size
Date
Package
Queue.java
API Doc
Example
382
Sat Mar 03 15:21:54 GMT 2001
None
Queue
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
public class Queue extends LinkedList
Treat a LinkList as a Queue
Fields Summary
Constructors Summary
Methods Summary
public void
q_add
(
java.lang.Object
o)
addLast(o);
public
java.lang.Object
q_check
()
return getFirst();
public
boolean
q_empty
()
return size() == 0;
public
int
q_len
()
return size();
public
java.lang.Object
q_take
()
return removeFirst();
Java Code Source