var size=0;
var hashTableItems = {};
function HashTable() {
	this.SetItem = function(key, value) {
		size++;
		hashTableItems[key] = value;
	}

	this.GetItem = function(key) {
		return hashTableItems[key];
	}

	this.GetLength=function(){
		return size;
	}

    this.clearCache = function() {
        size = 0;
        hashTableItems = {};
    }
}

