Code example for Ordering

Methods: compoundonResultOf

0
			this(partialValueOrdering, new HashMap<K, V>());
		} 
 
		private ValueComparableMap(Ordering<? super V> partialValueOrdering, HashMap<K, V> valueMap) {
			super(partialValueOrdering // Apply the value ordering
					.onResultOf(Functions.forMap(valueMap)) // On the result of
															// getting the value 
															// for the key from 
															// the map 
					.compound(Ordering.natural())); // as well as ensuring that
													// the keys don't get 
													// clobbered 
			this.valueMap = valueMap;
		} 
 
		@Override 
		public V get(Object key) { 
			return this.valueMap.get(key);
		} 
 
Contextual code suggestions in your IDE  Get Codota for Java