Code example for SortedMap

Methods: headMap

0
		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();
	} 
 
	@Override 
	public K lastKey() { 
		return scontainer.lastKey();