Searched refs:sortedList (Results 1 – 4 of 4) sorted by relevance
70 final ArrayList<ZipEntry> sortedList = new ArrayList<ZipEntry>(); in copyZipWithoutEmptyDirectories() local73 sortedList.add(entry); in copyZipWithoutEmptyDirectories()76 Collections.sort(sortedList, new Comparator<ZipEntry>() in copyZipWithoutEmptyDirectories()85 for (int i = sortedList.size()-1; i>=0; i--) in copyZipWithoutEmptyDirectories()87 final ZipEntry inputEntry = sortedList.get(i); in copyZipWithoutEmptyDirectories()92 if (i == sortedList.size()-1) in copyZipWithoutEmptyDirectories()99 final String nextName = sortedList.get(i+1).getName(); in copyZipWithoutEmptyDirectories()112 sortedList.remove(inputEntry); in copyZipWithoutEmptyDirectories()
845 private void checkListOrder(String[] sortedList, Collator c) { in checkListOrder() argument848 for (int i = 0; i < sortedList.length - 1; i++) { in checkListOrder()849 if (c.compare(sortedList[i], sortedList[i + 1]) >= 0) { in checkListOrder()851 + sortedList[i] + " >= " in checkListOrder()852 + sortedList[i + 1]); in checkListOrder()
848 private void checkListOrder(String[] sortedList, Collator c) { in checkListOrder() argument851 for (int i = 0; i < sortedList.length - 1; i++) { in checkListOrder()852 if (c.compare(sortedList[i], sortedList[i + 1]) >= 0) { in checkListOrder()854 + sortedList[i] + " >= " in checkListOrder()855 + sortedList[i + 1]); in checkListOrder()
900 public int binarySearch(List<? extends T> sortedList, @Nullable T key) { in binarySearch() argument901 return Collections.binarySearch(sortedList, key, this); in binarySearch()