Let say that I have a Hashtable ht = new Hashtable()
My hashtable consist of a key and a value. The value is a Queue. Everytime a command is being saved for this key the queue will be increased. Until a command has been executed and it will there after be decreased.
Since I can only add a key to the Hashtable once, how do I then solve this problem ?
My hashtable consist of a key and a value. The value is a Queue. Everytime a command is being saved for this key the queue will be increased. Until a command has been executed and it will there after be decreased.
Since I can only add a key to the Hashtable once, how do I then solve this problem ?