public TopNOrderedContainer()
 {
     this.orderedArray  = null;
     this.validObjCount = 0;
     this.smartRWLocker = new SmartRWLocker();
     this.topNumber     = 10;
 }
Example #2
0
 public SamePriorityObjectManager()
 {
     this.waiterList              = new LinkedList <T>();
     this.smartRWLocker           = new SmartRWLocker();
     this.capacity                = 0x7fffffff;
     this.actionTypeOnAddOverflow = global::CJBasic.ObjectManagement.Managers.ActionTypeOnAddOverflow.Wait;
     this.detectSpanInMSecsOnWait = 10;
     this.WaiterDiscarded        += delegate {
     };
 }
 public BidirectionalMapping()
 {
     this.dictionary         = new Dictionary <T1, T2>();
     this.reversedDictionary = new Dictionary <T2, T1>();
     this.smartRWLocker      = new SmartRWLocker();
 }
Example #4
0
 public MultiDirectionalMapping()
 {
     this.mapping       = new Dictionary <T, SortedArray <T> >();
     this.smartRWLocker = new SmartRWLocker();
 }