-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made progressMap independent of description, so multiple descriptions can be the same Added AtomicInteger instead, so indices are distinct Added descriptionMap for descriptions Added current index to each Progress object to identify it in progressMap Made description and list publicly available Added SafeVarargs annotation to varargs methods Inlined updateProgress method to directly access progressMap Used Thread.ofVirtual() so execution is suspended while printer thread sleeps Moved startTime inside the printer thread, so it only starts after the Progress object is actually created, not when Progress.reset() is called Removed description if size < 0 Added 0 to seconds if seconds are only single digit and minutes are present Updated Demo Updated README
- Loading branch information
1 parent
9a7ff06
commit 6f735ef
Showing
4 changed files
with
77 additions
and
61 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