@Override public Iterator<ModuleDependencyActionableItem> iterator(int first, int count) { List<ModuleDependencyActionableItem> data = getData(); ListPropertySorter.sort(data, getGroupParam(), getSort()); List<ModuleDependencyActionableItem> listToReturn = populateModuleDependencyActionableItem(data.subList(first, first + count)); return listToReturn.iterator(); }
@Override public Iterator<ImportableRemoteRepo> iterator(int first, int count) { ListPropertySorter.sort(list, getSort()); List<ImportableRemoteRepo> listToReturn = list.subList(first, first + count); return listToReturn.iterator(); }