Code example for SortedMap

Methods: headMap

0
		} 
		return sum;
	} 
 
	private static SortedMap<Long, Integer> addMin(SortedMap<Long, Integer> mins, long s, int i) {
		mins = new TreeMap<Long, Integer>(mins.headMap(s));
		mins.put(s, i);
		return mins;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE