-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into equals-hashcode-improve
- Loading branch information
Showing
50 changed files
with
1,896 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.jsoup; | ||
|
||
@FunctionalInterface | ||
|
||
public interface Progress<ProgressContext> { | ||
/** | ||
Called to report progress. Note that this will be executed by the same thread that is doing the work, so either | ||
don't take to long, or hand it off to another thread. | ||
@param processed the number of bytes processed so far. | ||
@param total the total number of expected bytes, or -1 if unknown. | ||
@param percent the percentage of completion, 0.0..100.0. If the expected total is unknown, % will remain at zero | ||
until complete. | ||
@param context the object that progress was made on. | ||
@since 1.18.1 | ||
*/ | ||
void onProgress(int processed, int total, float percent, ProgressContext context); | ||
} |
Oops, something went wrong.