@Override @SuppressWarnings("unchecked") public Object firstKey() { read(); return ( (SortedMap) map ).firstKey(); }
@Override @SuppressWarnings("unchecked") public Object lastKey() { read(); return ( (SortedMap) map ).lastKey(); }
@Override @SuppressWarnings("unchecked") public SortedMap tailMap(Object fromKey) { read(); final SortedMap tailMap = ( (SortedMap) map ).tailMap( fromKey ); return new SortedSubMap( tailMap ); }
@Override @SuppressWarnings("unchecked") public SortedMap subMap(Object fromKey, Object toKey) { read(); final SortedMap subMap = ( (SortedMap) map ).subMap( fromKey, toKey ); return new SortedSubMap( subMap ); }
@Override @SuppressWarnings("unchecked") public SortedMap headMap(Object toKey) { read(); final SortedMap headMap = ( (SortedMap) map ).headMap( toKey ); return new SortedSubMap( headMap ); }
/** * @see PersistentSortedMap#firstKey() */ public Object firstKey() { read(); return ( (SortedMap) map ).firstKey(); }
/** * @see PersistentSortedMap#firstKey() */ public Object firstKey() { read(); return ( (SortedMap) map ).firstKey(); }
/** * @see PersistentSortedMap#lastKey() */ public Object lastKey() { read(); return ( (SortedMap) map ).lastKey(); }
/** * @see PersistentSortedMap#lastKey() */ public Object lastKey() { read(); return ( (SortedMap) map ).lastKey(); }
/** * @see PersistentSortedMap#subMap(Object, Object) */ public SortedMap subMap(Object fromKey, Object toKey) { read(); SortedMap m = ( (SortedMap) map ).subMap(fromKey, toKey); return new SortedSubMap(m); }
/** * @see PersistentSortedMap#headMap(Object) */ public SortedMap headMap(Object toKey) { read(); SortedMap m; m = ( (SortedMap) map ).headMap(toKey); return new SortedSubMap(m); }
@Override @SuppressWarnings("unchecked") public SortedMap subMap(Object fromKey, Object toKey) { read(); final SortedMap subMap = ( (SortedMap) map ).subMap( fromKey, toKey ); return new SortedSubMap( subMap ); }
@Override @SuppressWarnings("unchecked") public K firstKey() { read(); return map().firstKey(); }
@Override @SuppressWarnings("unchecked") public K lastKey() { read(); return map().lastKey(); }
/** * @see PersistentSortedMap#tailMap(Object) */ public SortedMap tailMap(Object fromKey) { read(); SortedMap m; m = ( (SortedMap) map ).tailMap(fromKey); return new SortedSubMap(m); }
/** * @see PersistentSortedMap#subMap(Object, Object) */ public SortedMap subMap(Object fromKey, Object toKey) { read(); SortedMap m = ( (SortedMap) map ).subMap(fromKey, toKey); return new SortedSubMap(m); }
/** * @see PersistentSortedMap#tailMap(Object) */ public SortedMap tailMap(Object fromKey) { read(); SortedMap m; m = ( (SortedMap) map ).tailMap(fromKey); return new SortedSubMap(m); }
/** * @see PersistentSortedMap#headMap(Object) */ public SortedMap headMap(Object toKey) { read(); SortedMap m; m = ( (SortedMap) map ).headMap(toKey); return new SortedSubMap(m); }
@Override @SuppressWarnings("unchecked") public SortedMap<K,V> headMap(K toKey) { read(); final SortedMap<K,V> headMap = map().headMap( toKey ); return new SortedSubMap( headMap ); }
@Override @SuppressWarnings("unchecked") public SortedMap<K,V> tailMap(K fromKey) { read(); final SortedMap<K,V> tailMap = map().tailMap( fromKey ); return new SortedSubMap( tailMap ); }