|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LinkedListQ
This is the Linked List Queue that works on the basis of the FIFO principle. New elements are added to the tail and are taken from the head.
Field Summary | |
int |
deep
|
int |
len
|
Method Summary | |
void |
add(java.lang.Object n)
Adds a new element to the tail of the list |
LinkedListQ |
copy()
|
void |
DebugLL(java.lang.String Message)
|
java.lang.Object |
Find()
|
ProvisionCell |
FindProv(java.lang.String LookUp)
|
java.lang.Object |
Head()
|
boolean |
isEmpty()
False -- if the list is empty, True -- otherwise |
java.lang.Object |
nextElement()
Used to walk through the list Returns the current element's data Sets the pointer to the next element (can be null) If the no more elements -- resets the current pointer |
void |
PrintList()
|
void |
PrintPlist(java.lang.String Message)
|
void |
printStrings()
|
int |
realSize()
|
LinkedListQ |
removeCell(java.lang.String Name)
|
java.lang.Object |
removeHead()
Removes the head element of the list |
LinkedListQ |
removeString(java.lang.String Name)
|
void |
reset()
Resets the current element pointer to the head of the list |
void |
resetProvisions()
|
int |
size()
Returns the number of elements in the list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int len
public int deep
Method Detail |
public boolean isEmpty()
public int size()
public void reset()
public void add(java.lang.Object n)
public java.lang.Object removeHead()
public LinkedListQ copy()
public java.lang.Object Head()
public java.lang.Object nextElement()
public void PrintList()
public java.lang.Object Find()
public LinkedListQ removeCell(java.lang.String Name)
public LinkedListQ removeString(java.lang.String Name)
public void resetProvisions()
public void printStrings()
public ProvisionCell FindProv(java.lang.String LookUp)
public void PrintPlist(java.lang.String Message)
public void DebugLL(java.lang.String Message)
public int realSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |