示例#1
0
        public static IntervalHeap <T> Synchronized(IntervalHeap <T> heap)
        {
            if (heap == null)
            {
                throw new ArgumentNullException("heap");
            }

            return(new SyncIntervalHeap(heap));
        }
示例#2
0
 public void Dispose()
 {
     heap = null;
 }
示例#3
0
 public IntervalHeapEnumerator(IntervalHeap <T> heap)
 {
     this.heap = heap;
     Reset();
 }
示例#4
0
 internal SyncIntervalHeap(IntervalHeap <T> heap)
 {
     this.heap = heap;
 }