|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--PieceList
A PieceList is a linked list of Pieces.
| Field Summary | |
PieceList |
next
|
Piece |
piece
|
| Constructor Summary | |
PieceList(PieceList pl)
Make a copy of an existing piece list. |
|
PieceList(Piece p,
PieceList pl)
Make a new piece list node. |
|
| Method Summary | |
Piece |
index(int pieceNum)
Find the pieceNumth piece in the list. |
void |
print()
Print a PieceList. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Piece piece
public PieceList next
| Constructor Detail |
public PieceList(Piece p,
PieceList pl)
public PieceList(PieceList pl)
| Method Detail |
public void print()
public Piece index(int pieceNum)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||