Comments (6)
Can you use Guava / ApacheCommonsLang's Range
class for this?
from progressbar.
Perhaps, but it would be unfortunate to have to pull in either of those for a fairly simple problem.
from progressbar.
The principled way is that you continue using IntStream
and I'll add a proper ProgressBar.wrap(Stream)
function that reads the estimated remaining size as the max limit of the progress bar. Thanks for pointing this out -- this function will be added in the next release.
from progressbar.
That would be great :) That was actually how I expected things to work already. Thanks!
from progressbar.
Now supported in 0.7.2
.
from progressbar.
Awesome! Thank you :)
from progressbar.
Related Issues (20)
- Support PowerShell HOT 2
- Seems to be a bug with early closing the terminal HOT 1
- progress bar looks strange HOT 2
- Progress bar not show Block in cmd.exe & powershell.exe
- Know if progress bar have max value or it is set to infinity? HOT 1
- Work around bugs in java.util.Spliterator#estimateSize HOT 2
- ProgressBarBuilder should allow custom ProgressBarRenderer implementation HOT 1
- IntelliJ IDEA - Maven test run not showing progress bar HOT 5
- Multiple progress bars end up on a single line under osx with 0.9.4 HOT 6
- ProgressBarBuilder()#setEtaFunction is pointless because all methods in ProgressState are package-private HOT 3
- progressbar cannot be used as a module HOT 2
- Ctrl - c to stop java console program slowly HOT 2
- Allow users to setup their own style HOT 4
- Add Automatic-Module-Name to jar manifest HOT 3
- Real module-info.java HOT 2
- Feature: Support for Stacked/Styled Progress-Bars HOT 1
- Impossible to use in a fully modular application with finely grained jline libraries. HOT 3
- Progressbar error:Exception in thread "main" java.lang.NoSuchMethodError: org.jline.terminal.TerminalBuilder.dumb(Z)Lorg/jline/terminal/TerminalBuilder; HOT 1
- How to change Text Color HOT 1
- Using ProgressBar constructor and building it using ProgressBarBuilder yields different results HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from progressbar.