Lines Matching refs:midPoint
901 int midPoint = (min + max) / 2;
905 NavigableMap<Integer,Integer> hm = map.headMap(midPoint, incl);
908 bashSubMap(hm, min, midPoint - (incl ? 0 : 1), true);
910 bashSubMap(hm.descendingMap(), min, midPoint - (incl ? 0 : 1),
914 bashSubMap(hm, midPoint + (incl ? 0 : 1), max, false);
916 bashSubMap(hm.descendingMap(), midPoint + (incl ? 0 : 1), max,
922 NavigableMap<Integer,Integer> tm = map.tailMap(midPoint,incl);
925 bashSubMap(tm, midPoint + (incl ? 0 : 1), max, true);
927 bashSubMap(tm.descendingMap(), midPoint + (incl ? 0 : 1), max,
931 bashSubMap(tm, min, midPoint - (incl ? 0 : 1), false);
933 bashSubMap(tm.descendingMap(), min, midPoint - (incl ? 0 : 1),