school/cs235/final/RedBlackTreeFactory.h
2016-04-06 20:46:10 -07:00

24 lines
718 B
C++

#pragma once
#include "RedBlackTreeInterface.h"
using namespace std;
/*
WARNING: It is expressly forbidden to modify any part of this document, including its name
*/
//=======================================================================================
/*
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();".
*/
class RedBlackTreeFactory
{
public:
static RedBlackTreeInterface * getRedBlackTree();
};
//=======================================================================================