Code example for SortedMap

Methods: comparator

0
		return new TreeMap<K, Collection<V>>();
	} 
 
	@Override 
	public Comparator<? super K> comparator() {
		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));