public static class Result.SortByDownloadPartNumber extends Object implements Comparator<Result>
Comparator interface used to
sort the list of Result objects returned by background threads
downloading parts of a file. This is used by the method
FileDownloader.downloadMultiPartFiles()| Constructor and Description |
|---|
SortByDownloadPartNumber() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Result result1,
Result result2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Result result1, Result result2)
compare in interface Comparator<Result>Copyright © 2024. All rights reserved.