@Test public void testAddAllAtIndex() { KeyValuePairList list = createWithEntries(); KeyValuePairList list2 = createWithEntries(); list.addAll(1, list2); assertEquals(8, list.size()); }
public boolean addAll(int index, Collection<? extends KeyValuePair> c) { return getKeyValuePairs().addAll(index, c); }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public boolean addAll(int index, Collection<? extends KeyValuePair> c) { return getKeyValuePairs().addAll(index, c); } }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public boolean addAll(int index, Collection<? extends KeyValuePair> c) { return getKeyValuePairs().addAll(index, c); } KeyValuePairList();  KeyValuePairList(Collection<KeyValuePair> pairs);  KeyValuePairList(Properties properties);  KeyValuePairList(Map<String, String> map); }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public boolean addAll(int index, Collection<? extends KeyValuePair> c) { return getKeyValuePairs().addAll(index, c); } KeyValuePairList();  KeyValuePairList(Collection<KeyValuePair> pairs);  KeyValuePairList(Properties properties);  KeyValuePairList(Map<String, String> map); @Override List<KeyValuePair> getKeyValuePairs(); @Override void addKeyValuePair(KeyValuePair pair); void add(int index, KeyValuePair element); boolean addAll(int index, Collection<? extends KeyValuePair> c); KeyValuePair get(int index); int indexOf(Object o); int lastIndexOf(Object o); ListIterator<KeyValuePair> listIterator(); ListIterator<KeyValuePair> listIterator(int index); KeyValuePair remove(int index); KeyValuePair set(int index, KeyValuePair element); List<KeyValuePair> subList(int fromIndex, int toIndex); }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public boolean addAll(int index, Collection<? extends KeyValuePair> c) { return getKeyValuePairs().addAll(index, c); } KeyValuePairList();  KeyValuePairList(Collection<KeyValuePair> pairs);  KeyValuePairList(Properties properties);  KeyValuePairList(Map<String, String> map); @Override List<KeyValuePair> getKeyValuePairs(); @Override void addKeyValuePair(KeyValuePair pair); void add(int index, KeyValuePair element); boolean addAll(int index, Collection<? extends KeyValuePair> c); KeyValuePair get(int index); int indexOf(Object o); int lastIndexOf(Object o); ListIterator<KeyValuePair> listIterator(); ListIterator<KeyValuePair> listIterator(int index); KeyValuePair remove(int index); KeyValuePair set(int index, KeyValuePair element); List<KeyValuePair> subList(int fromIndex, int toIndex);  }