Exemple #1
0
 public ConcurrentDequeDictionary()
 {
     this.sync  = new object();
     this.deque = new LinkedArray <KeyValuePair <TKey, TValue> >();
     this.keyToDequeIndexMap = new Dictionary <TKey, int>();
     this.valueComparer      = EqualityComparer <TValue> .Default;
 }
Exemple #2
0
 public DequeSet()
 {
     this.deque            = new LinkedArray <T>();
     this.itemToDequeIndex = new Dictionary <T, int>();
 }