|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTreeMaker
public class TreeMaker
| Field Summary | |
|---|---|
MutableBinaryTree |
head
MutableBinaryTree that keeps track of the entire tree by pointing to its head |
| Constructor Summary | |
|---|---|
TreeMaker()
constructor methods to initiate the game by getting the file input and transforming it to a mutable binary tree |
|
TreeMaker(java.lang.String fileName)
|
|
| Method Summary | |
|---|---|
void |
saveToFile()
it saves the changes back to the original file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MutableBinaryTree head
| Constructor Detail |
|---|
public TreeMaker()
public TreeMaker(java.lang.String fileName)
| Method Detail |
|---|
public void saveToFile()
throws java.io.IOException
java.io.IOException - if the file does not exist
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||