Code example for SortedMap

Methods: subMap

0
		return scontainer.comparator();
	} 
 
	@Override 
	public SortedMultimap<K, V> subMap(K fromKey, K toKey) {
		return new TreeMultimap<K, V>(scontainer.subMap(fromKey, toKey));
	} 
 
	@Override 
	public SortedMultimap<K, V> headMap(K toKey) {
		return new TreeMultimap<K, V>(scontainer.headMap(toKey));
	} 
 
	@Override 
	public SortedMultimap<K, V> tailMap(K fromKey) {
		return new TreeMultimap<K, V>(scontainer.tailMap(fromKey));
	} 
 
	@Override 
	public K firstKey() { 
		return scontainer.firstKey();