adding cs235
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include "RedBlackTreeFactory.h"
|
||||
#include "br_tree.h"
|
||||
//You may add #include statements here
|
||||
|
||||
/*
|
||||
You will MODIFY THIS DOCUMENT.
|
||||
*/
|
||||
//=======================================================================================
|
||||
/*
|
||||
getRedBlackTree()
|
||||
|
||||
Creates and returns an object whose class extends RedBlackTreeInterface.
|
||||
This should be an object of a class you have created.
|
||||
|
||||
Example: If you made a class called "RedBlackTree", you might say, "return new RedBlackTree();".
|
||||
*/
|
||||
RedBlackTreeInterface * RedBlackTreeFactory::getRedBlackTree()
|
||||
{
|
||||
return new br_tree();//Modify this line
|
||||
}
|
||||
Reference in New Issue
Block a user