@Test public void testGetIndex() { KeyValuePairList list = createWithEntries(); KeyValuePair kvp = list.get(1); assertEquals(new KeyValuePair(KEY2, VALUE2), kvp); }
public KeyValuePair get(int index) { return getKeyValuePairs().get(index); }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public KeyValuePair get(int index) { return getKeyValuePairs().get(index); } }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public KeyValuePair get(int index) { return getKeyValuePairs().get(index); } KeyValuePairList();  KeyValuePairList(Collection<KeyValuePair> pairs);  KeyValuePairList(Properties properties);  KeyValuePairList(Map<String, String> map); }
KeyValuePairList extends KeyValuePairBag implements List<KeyValuePair> { public KeyValuePair get(int index) { return getKeyValuePairs().get(index); } 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 KeyValuePair get(int index) { return getKeyValuePairs().get(index); } 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);  }