|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ShapeList
Constructor Summary | |
ShapeList()
Constructor de la clase ShapeList |
|
ShapeList(java.lang.String s,
int Top)
Constructor de la clase ShapeList |
Method Summary | |
Node |
getHead()
Regresa el primer nodo de la lista |
void |
insertBack(Shape shape)
Inserta al final de la lista si esta vacia la crea |
void |
insertFront(Shape shape)
Inserta al frente de la lista |
boolean |
isEmpty()
Checa si la lista esta vacia |
boolean |
isFull()
Checa si la lista esta llena |
void |
printList(java.awt.Frame f)
Imprime el contenido de la lista |
Shape |
removeBack()
Borra al final de la lista |
Shape |
removeFront()
Borra al frente de la lista |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShapeList(java.lang.String s, int Top)
public ShapeList()
Method Detail |
public void insertFront(Shape shape)
public void insertBack(Shape shape)
public Shape removeFront()
public Shape removeBack()
public Node getHead()
public boolean isEmpty()
public boolean isFull()
public void printList(java.awt.Frame f)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |