/** * Returns the URL for an item. * * @param series the series index. * @param item the item index. * * @return The URL (possibly {@code null}). */ public String getURL(int series, int item) { String result = null; if (series < getListCount()) { List urls = (List) this.urlSeries.get(series); if (urls != null) { if (item < urls.size()) { result = (String) urls.get(item); } } } return result; }
/** * Returns the URL for an item. * * @param series the series index. * @param item the item index. * * @return The URL (possibly <code>null</code>). */ public String getURL(int series, int item) { String result = null; if (series < getListCount()) { List urls = (List) this.urlSeries.get(series); if (urls != null) { if (item < urls.size()) { result = (String) urls.get(item); } } } return result; }
int listCount = getListCount(); if (listCount != generator.getListCount()) { return false;
int listCount = getListCount(); if (listCount != generator.getListCount()) { return false;