Opus5
Class Application2

java.lang.Object
  |
  +--Opus5.Application2

public class Application2
extends java.lang.Object

Application program that illustrates the use of a queue to implement breadth-first traversal.

Version:
$Id: Application2.java,v 3.4 1998/12/14 02:57:41 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.
See Also:
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

Application2

public Application2()
Method Detail

main

public 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.
Parameters:
args - The command-line arguments. Ignored.