|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--Opus5.Application2
Application program that illustrates the use of a queue to implement breadth-first traversal.
Algorithms.breadthFirstTraversal(Opus5.Tree)| Constructor Summary | |
Application2()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Creates a tree containing the keys 'a' to 'g' and then does a breadth-first traversal of that tree. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Application2()
| Method Detail |
public static void main(java.lang.String[] args)
args - The command-line arguments. Ignored.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||