TrackingMultimap extends AbstractMap<K, Set<V>> { public K max() { ensureSortSupport(comparator); return max; } protected  TrackingMultimap(Map<K, Set<V>> delegate,
            @Nullable Comparator<K> comparator); boolean containsDataType(DataType type); long count(); boolean delete(K key, V value); double distinctiveness(); @Override Set<Entry<K, Set<V>>> entrySet(); @SuppressWarnings("unchecked") @Override boolean equals(Object obj); @Override Set<V> get(Object key); @Override int hashCode(); boolean hasValue(V value); boolean insert(K key, V value); K max(); Set<V> merge(K key, Set<V> values); K min(); double percentKeyDataType(DataType type); double proportion(K element); @Override Set<V> put(K key, Set<V> value); @SuppressWarnings("unchecked") @Override Set<V> remove(Object key); double spread(); @Override String toString(); double uniqueness(); VariableType variableType();  }
@Test public void testMax() { TrackingMultimap<Object, Long> tmmap = TrackingLinkedHashMultimap .create(ObjectResultDataset.OBJECT_COMPARATOR); tmmap.insert(2, 1L); tmmap.insert(1, 2L); tmmap.insert(30, 3L); tmmap.insert(4, 4L); Assert.assertEquals(30, tmmap.max()); }