@Test public void testAddURLSeries() { CustomCategoryURLGenerator g1 = new CustomCategoryURLGenerator(); g1.addURLSeries(null); assertEquals(1, g1.getListCount()); assertEquals(0, g1.getURLCount(0)); List<String> list1 = new java.util.ArrayList<String>(); list1.add("URL1"); g1.addURLSeries(list1); assertEquals(2, g1.getListCount()); assertEquals(0, g1.getURLCount(0)); assertEquals(1, g1.getURLCount(1)); assertEquals("URL1", g1.getURL(1, 0)); list1.clear(); assertEquals("URL1", g1.getURL(1, 0)); }
public void addURLSeries(List<String> urls) { List<String> listToAdd = null; if (urls != null) { listToAdd = new java.util.ArrayList<String>(urls); } this.urlSeries.add(listToAdd); }
CustomCategoryURLGenerator implements CategoryURLGenerator,
        Cloneable, PublicCloneable, Serializable { public void addURLSeries(List<String> urls) { List<String> listToAdd = null; if (urls != null) { listToAdd = new java.util.ArrayList<String>(urls); } this.urlSeries.add(listToAdd); } }
CustomCategoryURLGenerator implements CategoryURLGenerator,
        Cloneable, PublicCloneable, Serializable { public void addURLSeries(List<String> urls) { List<String> listToAdd = null; if (urls != null) { listToAdd = new java.util.ArrayList<String>(urls); } this.urlSeries.add(listToAdd); } CustomCategoryURLGenerator(); }
CustomCategoryURLGenerator implements CategoryURLGenerator,
        Cloneable, PublicCloneable, Serializable { public void addURLSeries(List<String> urls) { List<String> listToAdd = null; if (urls != null) { listToAdd = new java.util.ArrayList<String>(urls); } this.urlSeries.add(listToAdd); } CustomCategoryURLGenerator(); int getListCount(); int getURLCount(int list); String getURL(int series, int item); @Override String generateURL(CategoryDataset dataset, int series, int item); void addURLSeries(List<String> urls); @Override boolean equals(Object obj); @Override Object clone(); }
CustomCategoryURLGenerator implements CategoryURLGenerator,
        Cloneable, PublicCloneable, Serializable { public void addURLSeries(List<String> urls) { List<String> listToAdd = null; if (urls != null) { listToAdd = new java.util.ArrayList<String>(urls); } this.urlSeries.add(listToAdd); } CustomCategoryURLGenerator(); int getListCount(); int getURLCount(int list); String getURL(int series, int item); @Override String generateURL(CategoryDataset dataset, int series, int item); void addURLSeries(List<String> urls); @Override boolean equals(Object obj); @Override Object clone();  }