1 package org.testng.collections; 2 3 4 import java.util.List; 5 6 /** 7 * A container to hold lists indexed by a key. 8 */ 9 public class ListMultiMap<K, V> extends MultiMap<K, V, List<V>> { 10 11 @Override createValue()12 protected List<V> createValue() { 13 return Lists.newArrayList(); 14 } 15 16 @Deprecated create()17 public static <K, V> ListMultiMap<K, V> create() { 18 return Maps.newListMultiMap(); 19 } 20 } 21