ConfigItemMapIndexed implements ConfigItemCollection<ConfigItemMapEntry> { public ConfigItemMapEntry get(final int index) { return this.list.get(index); } ConfigItemMapIndexed(final String name); @Override int size(); @Override boolean isEmpty(); boolean contains(final Object o); @Override Iterator<ConfigItemMapEntry> iterator(); boolean add(final ConfigItemMapEntry configItemMapEntry); void remove(final int index); ConfigItemMapEntry get(final int index); ConfigItemMapEntry set(final int index, final ConfigItemMapEntry element); void add(final int index, final ConfigItemMapEntry element); @Override String getName(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable);  }
@Test public void testGet() { final ConfigItemMapIndexed m = new ConfigItemMapIndexed("mapindexed"); m.add(0, this.set); Assert.assertEquals(this.set, m.get(0)); }