public SortedMap <K, V> headMap(K endKey) { lock (mutex) { return(new SynchronizedSortedMap <K, V>(sm.headMap(endKey), mutex)); } }
public SortedMap <K, V> headMap(K before) { return(new UnmodifiableSortedMap <K, V>(sm.headMap(before))); }