static B lowestValue(Map map) { B best = null; for (B b : values(map)) if (best == null || cmp(b, best) < 0) best = b; ret best; }