Example #1
0
        public bool IsLowerHalf(PageMap <TData> outer)
        {
            var outerMiddle = outer.Count / 2;

            return(Bounds.Max >= outerMiddle && Bounds.Min >= outerMiddle);
        }
Example #2
0
 public EnumeratorBackward(PageMap <TData> page)
 {
     _page  = page;
     _index = _page.Bounds.Max + 1;
 }
Example #3
0
 public bool IsHalfFits(PageMap <TData> outer)
 {
     return(outer.Count * 2 / _source.Count > 0);
 }
Example #4
0
 public EnumeratorForward(PageMap <TData> page)
 {
     _page  = page;
     _index = _page.Bounds.Min - 1;
 }