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